arch/x86 cbmem: Drop tests for LATE_CBMEM_INIT
Remove all cases in code where we tested for EARLY_CBMEM_INIT or LATE_CBMEM_INIT being set. This also removes all references to LATE_CBMEM_INIT in comments. Change-Id: I4e47fb5c8a947d268f4840cfb9c0d3596fb9ab39 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/26827 Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
8616442150
commit
513a1a81f7
@ -63,17 +63,13 @@ static struct cbmem_console *cbmem_console_p CAR_GLOBAL;
|
||||
#else
|
||||
|
||||
/*
|
||||
* When running from RAM, a lot of console output is generated before CBMEM is
|
||||
* When running from RAM, some console output is generated before CBMEM is
|
||||
* reinitialized. This static buffer is used to store that output temporarily,
|
||||
* to be concatenated with the CBMEM console buffer contents accumulated
|
||||
* during the ROM stage, once CBMEM becomes available at RAM stage.
|
||||
*/
|
||||
|
||||
#if IS_ENABLED(CONFIG_EARLY_CBMEM_INIT)
|
||||
#define STATIC_CONSOLE_SIZE 1024
|
||||
#else
|
||||
#define STATIC_CONSOLE_SIZE CONFIG_CONSOLE_CBMEM_BUFFER_SIZE
|
||||
#endif
|
||||
static u8 static_console[STATIC_CONSOLE_SIZE];
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user