coreboot/src/arch/arm
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 a492761c27)
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
..
armv4 arm: Move libgcc assembly macros to arch/asm.h 2014-09-22 18:46:57 +02:00
armv7 arm: Fix up new cache flush algorithm and replace dcache_*_all() with it 2014-09-29 17:26:45 +02:00
include cbmem console: Locate the preram console with a symbol instead of a section. 2014-10-07 23:41:28 +02:00
asmlib.h arm: Update mem* functions to newer versions 2014-09-22 18:47:42 +02:00
boot.c ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
bootblock.ld arm: Have the linker garbage-collect unused functions and variables 2014-09-22 18:41:54 +02:00
cpu.c ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
div0.c ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
eabi_compat.c ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
id.S ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
Kconfig ARM: Add an ARMv4 architecture version. 2014-09-09 19:49:31 +02:00
Makefile.inc arm: add missing gc-sections for ramstage 2014-09-24 17:34:35 +02:00
memcpy.S arm: Update mem* functions to newer versions 2014-09-22 18:47:42 +02:00
memmove.S arm: Update mem* functions to newer versions 2014-09-22 18:47:42 +02:00
memset.S arm: Update mem* functions to newer versions 2014-09-22 18:47:42 +02:00
ramstage.ld arm: Have the linker garbage-collect unused functions and variables 2014-09-22 18:41:54 +02:00
romstage.ld arm: Have the linker garbage-collect unused functions and variables 2014-09-22 18:41:54 +02:00
stages.c ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
tables.c ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00