summaryrefslogtreecommitdiff
path: root/src/arch/armv7/bootblock.lds
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2013-02-08 19:10:33 -0800
committerRonald G. Minnich <rminnich@gmail.com>2013-02-09 05:01:31 +0100
commitb73d904cff574bb8447c75457a07353a81100ad5 (patch)
treef69e4caeb90c1dc44cbc93c2390712beb284f5ff /src/arch/armv7/bootblock.lds
parent3001c5b69c85414e8d762610794dd0dafc3c1813 (diff)
armv7/snow: add BL1_SIZE_KB and get rid of magic constants
This adds a BL1_SIZE_KB config variable so that we can get rid of some magic constants. Change-Id: I9dbcfb407d3f8e367be5d943e95b032ce88b0ad0 Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: http://review.coreboot.org/2332 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/arch/armv7/bootblock.lds')
-rw-r--r--src/arch/armv7/bootblock.lds2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/armv7/bootblock.lds b/src/arch/armv7/bootblock.lds
index 90e37a0acb..fc58601439 100644
--- a/src/arch/armv7/bootblock.lds
+++ b/src/arch/armv7/bootblock.lds
@@ -25,7 +25,7 @@ OUTPUT_ARCH(arm)
TARGET(binary)
SECTIONS
{
- ROMLOC = 0x2023400 - 8192;
+ ROMLOC = CONFIG_BOOTBLOCK_BASE - CONFIG_BL1_SIZE_KB;
/* This section might be better named .setup */
.rom ROMLOC : {