Add TPM support to coreboot
[coreboot.git] / src / Kconfig
index 525d452f4d7e8d0364f299205d03b607550caa6e..f7180a98c0aabd91e8d68fcfd9f95f8855aa96bb 100644 (file)
@@ -112,6 +112,21 @@ config INCLUDE_CONFIG_FILE
   help
     Include in CBFS the coreboot config file that was used to compile the ROM image
 
+config EARLY_CBMEM_INIT
+       bool "Initialize CBMEM while in ROM stage"
+       default n
+       help
+         Make coreboot initialize the cbmem structures while running in rom
+         stage. This could be useful when the rom stage wants to communicate
+         some, for instance, execution timestamps.
+
+config COLLECT_TIMESTAMPS
+       bool "Create a table of timestamps collected during boot"
+       depends on EARLY_CBMEM_INIT
+       help
+         Make coreboot create a table of timer id/timer value pairs to
+         allow measuring time spent at different phases of the boot
+         process.
 endmenu
 
 source src/mainboard/Kconfig
@@ -239,6 +254,10 @@ config IOAPIC
        bool
        default n
 
+config TPM
+       bool
+       default n
+
 # TODO: Can probably be removed once all chipsets have kconfig options for it.
 config VIDEO_MB
        int
@@ -444,7 +463,7 @@ config PAYLOAD_FILE
 
 config PAYLOAD_FILE
        depends on PAYLOAD_SEABIOS
-       default "payloads/external/SeaBIOS/seabios/out/bios.bin.elf"
+       default "$(obj)/seabios/out/bios.bin.elf"
 
 config PAYLOAD_FILE
        depends on PAYLOAD_FILO
@@ -570,7 +589,7 @@ menu "Debugging"
 # TODO: Better help text and detailed instructions.
 config GDB_STUB
        bool "GDB debugging support"
-       default y
+       default n
        help
          If enabled, you will be able to set breakpoints for gdb debugging.
          See src/arch/x86/lib/c_start.S for details.
@@ -883,10 +902,6 @@ config WARNINGS_ARE_ERRORS
        bool
        default y
 
-config ID_SECTION_OFFSET
-       hex
-       default 0x10
-
 # The four POWER_BUTTON_DEFAULT_ENABLE, POWER_BUTTON_DEFAULT_DISABLE,
 # POWER_BUTTON_FORCE_ENABLE and POWER_BUTTON_FORCE_DISABLE options are
 # mutually exclusive. One of these options must be selected in the
@@ -927,3 +942,4 @@ config POWER_BUTTON_IS_OPTIONAL
          Internal option that controls ENABLE_POWER_BUTTON visibility.
 
 source src/Kconfig.deprecated_options
+source src/vendorcode/Kconfig