From 211a5d56db2ecf580b722fab132d908a6ba84dde Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Thu, 17 Jan 2013 20:52:21 -0800 Subject: armv7/snow: get to romstage This patch does a few things to get us into romstage: - Add romstage as a stage (a later patch adds it as a binary, which is probably wrong). The Makefile magic is complex enough that we let it build the XIP file for now, but we no longer use it. - Replace findstage with loadstage. Loadstage will find a stage, load the code to memory, and zero the remaining part of memory. Now we can link the romstage to go anywhere! - Eliminate magic offsets from code/ldscripts and centralize Kconfig variables in src/cpu/samsung/exynos5250/Kconfig. - Tidy up code and serial output Change-Id: Iae4d2f9e7f429cb1df15d49daf9a08b88d75d79d Signed-off-by: David Hendricks Signed-off-by: Ronald G. Minnich Reviewed-on: http://review.coreboot.org/2174 Tested-by: build bot (Jenkins) --- src/arch/armv7/lib/id.lds | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/arch/armv7/lib') diff --git a/src/arch/armv7/lib/id.lds b/src/arch/armv7/lib/id.lds index b521f3956b..9d5047967c 100644 --- a/src/arch/armv7/lib/id.lds +++ b/src/arch/armv7/lib/id.lds @@ -1,6 +1,5 @@ SECTIONS { - /* FIXME: determine a sensible location... */ - . = (0x2026400); + . = CONFIG_ID_SECTION_BASE; .id (.): { *(.id) } -- cgit v1.2.3