diff options
author | Aaron Durbin <adurbin@chromium.org> | 2015-04-20 15:24:19 -0500 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-04-23 16:35:51 +0200 |
commit | d70bf7cc219f8478e8336f60542a50c078bf531b (patch) | |
tree | c2b63025bdf691e3724b7225d58bebd13aa07aca /src/include | |
parent | 58decc540dd40c180542d214f74773c7c17b4f28 (diff) |
cbmem_console: fix it for x86
The Kconfig options pertaining cbmem console in the preram
environment no longer make sense with the linker script
changes. Remove them and their usage within cbmem_console.
Change-Id: Ibf61645ca2331e4851e748e4e7aa5059e1192ed7
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/9851
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/console/cbmem_console.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/console/cbmem_console.h b/src/include/console/cbmem_console.h index 81bc10fe64..343145952c 100644 --- a/src/include/console/cbmem_console.h +++ b/src/include/console/cbmem_console.h @@ -32,8 +32,8 @@ static inline void cbmemc_reinit(void) {} #endif #define __CBMEM_CONSOLE_ENABLE__ CONFIG_CONSOLE_CBMEM && \ - (ENV_RAMSTAGE || (CONFIG_CONSOLE_PRERAM_BUFFER_SIZE && \ - ((ENV_BOOTBLOCK && CONFIG_BOOTBLOCK_CONSOLE) || ENV_ROMSTAGE))) + (ENV_RAMSTAGE || (IS_ENABLED(CONFIG_EARLY_CBMEM_INIT) && \ + (ENV_ROMSTAGE || (ENV_BOOTBLOCK && CONFIG_BOOTBLOCK_CONSOLE)))) #if __CBMEM_CONSOLE_ENABLE__ static inline void __cbmemc_init(void) { cbmemc_init(); } |