CBMEM: always initialize early if the board supports it

This allows to drop some special cases in romstage.c

Change-Id: I53fdfcd1bb6ec21a5280afa07a40e3f0cba11c5d
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/2551
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
Stefan Reinauer
2013-02-28 01:18:29 +01:00
committed by Ronald G. Minnich
parent f2e1f6a862
commit 1bc9efaf65
15 changed files with 11 additions and 38 deletions

View File

@@ -162,12 +162,13 @@ config INCLUDE_CONFIG_FILE
(empty) 0x8e480 null 3610440
config EARLY_CBMEM_INIT
bool "Initialize CBMEM while in ROM stage"
bool
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.
stage. This is useful when the ROM stage wants to communicate
some, for instance, execution timestamps. It needs support in
romstage.c and should be enabled by the board's Kconfig.
config COLLECT_TIMESTAMPS
bool "Create a table of timestamps collected during boot"