Introduce config option to initialize CBMEM early.
authorVadim Bendebury <vbendeb@chromium.org>
Tue, 20 Sep 2011 23:46:46 +0000 (16:46 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Wed, 28 Mar 2012 18:28:05 +0000 (20:28 +0200)
We want to be able to communicate information between rom and ram
stages of coreboot. This configuration option will be used to
compile such ability in.

Change-Id: I6736fdc264ecd0b63369b28462d7bb96e4c2b012
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: http://review.coreboot.org/710
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
src/Kconfig

index 845d26f29181191faedd42fac72e76b33882d758..ac83e598b23c9d311361498c056a62aaa57968a6 100644 (file)
@@ -112,6 +112,14 @@ config INCLUDE_CONFIG_FILE
   help
     Include in CBFS the coreboot config file that was used to compile the ROM image
 
   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.
+
 endmenu
 
 source src/mainboard/Kconfig
 endmenu
 
 source src/mainboard/Kconfig