switch-coreboot/src/console
Kyösti Mälkki 8659e4072e CBMEM console: Fix and enhance pre-RAM support
Use the value of CONSOLE_PRERAM_BUFFER_SIZE to determine if we can
do CBMEM console in bootblock and romstage. Kconfig forces it to zero
if _BASE is unset or we cannot do CAR migration on x86.

Add CBMEM console to bootblock, except for x86. Only one of bootblock
and romstage clears the pre-RAM buffer.

To start with empty console log on S3 wakeup, ramstage now clears
previous contents of CBMEM buffer if there was no pre-RAM buffer.

Unify Kconfig variable naming.

TODO: ARM configurations do not define PRERAM_BUFFER_BASE values.

Change-Id: I70d82da629529dbfd7bc9491223abd703cbc0115
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/7862
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
2015-01-27 22:44:17 +01:00
..
console.c src/console: Sanitize headers and IS_ENABLED usage 2014-06-25 11:32:25 +02:00
die.c misc: Drop print_ implementation from non-romcc boards 2015-01-09 06:12:22 +01:00
early_print.c console: Split ROMCC helpers 2014-04-18 16:39:40 +02:00
init.c Replace includes of build.h with version.h 2014-11-20 07:28:37 +01:00
Kconfig CBMEM console: Fix and enhance pre-RAM support 2015-01-27 22:44:17 +01:00
Makefile.inc vboot2: implement select_firmware for pre-romstage verification 2015-01-27 01:43:01 +01:00
post.c misc: Drop print_ implementation from non-romcc boards 2015-01-09 06:12:22 +01:00
printk.c src/console: Sanitize headers and IS_ENABLED usage 2014-06-25 11:32:25 +02:00
vsprintf.c src/console: Sanitize headers and IS_ENABLED usage 2014-06-25 11:32:25 +02:00
vtxprintf.c src/console: Sanitize headers and IS_ENABLED usage 2014-06-25 11:32:25 +02:00