coreboot-kgpe-d16/src/console
Gabe Black 35382a6eeb cbmem console: Locate the preram console with a symbol instead of a section.
On non-x86 systems, the location of the preram CBMEM console may not be in a
predictable place relative to other things in the linker script. That makes it
difficult to work with as its own section because the linker will complain if
you try to move backwards as it lays out memory. If the console header is
treated as an actual blob of memory which has to be put in the image, we'd
have to predict where to put it so that it isn't before something with a lower
address or after something with a higher address. Symbols, on the other hand,
can be defined arbitrarily.

Change-Id: I3257b981eee0c15bb997a9f2c55a03494c6ec6f0
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: https://chromium-review.googlesource.com/193164
Reviewed-by: Tom Warren <twarren@nvidia.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
(cherry picked from commit a492761c27076bcac080013d509ae4aafd6dc3e3)
Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com>
Reviewed-on: http://review.coreboot.org/7013
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2014-10-07 23:41:28 +02:00
..
console.c src/console: Sanitize headers and IS_ENABLED usage 2014-06-25 11:32:25 +02:00
die.c remove trailing whitespace 2011-11-01 19:07:45 +01:00
early_print.c console: Split ROMCC helpers 2014-04-18 16:39:40 +02:00
init.c console: Use romstage code for ramstage and SMM 2014-04-18 16:39:19 +02:00
Kconfig cbmem console: Locate the preram console with a symbol instead of a section. 2014-10-07 23:41:28 +02:00
Makefile.inc console: conditionally include console in bootblock 2014-08-18 19:02:11 +02:00
post.c src/console/post.c: Sanitize headers from preprocessor abuse 2014-06-27 04:23:40 +02: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