diff options
author | David Hendricks <dhendrix@chromium.org> | 2013-02-09 13:51:55 -0800 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-02-09 23:09:15 +0100 |
commit | 74e27b419dc9da8ea7c7ceb9cc0ad203176d24f9 (patch) | |
tree | 62400d60047149b58855f6651092a5e19c2d0685 | |
parent | 644e83b0070c28ffa0f68ac1966df968b0a500d9 (diff) | |
download | coreboot-74e27b419dc9da8ea7c7ceb9cc0ad203176d24f9.tar.xz |
armv7/exynos: make BL1_SIZE_KB consistent with numbers used...
The Kconfig variable indicates KB, but the number used was bytes.
Let's just assume KB is correct for now.
Change-Id: I910c126104f0222fc48b70a18df943f2afddeca3
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: http://review.coreboot.org/2341
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
-rw-r--r-- | src/arch/armv7/bootblock.inc | 2 | ||||
-rw-r--r-- | src/arch/armv7/bootblock.lds | 2 | ||||
-rw-r--r-- | src/cpu/samsung/exynos5250/Kconfig | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/armv7/bootblock.inc b/src/arch/armv7/bootblock.inc index 82d801e75c..25cc8c6be4 100644 --- a/src/arch/armv7/bootblock.inc +++ b/src/arch/armv7/bootblock.inc @@ -36,7 +36,7 @@ _bl1: * on ARM, which is 8KB in size and it is prepended to the * reset vector */ - .skip CONFIG_BL1_SIZE_KB + .skip (CONFIG_BL1_SIZE_KB * 1024) .globl _start _start: b reset diff --git a/src/arch/armv7/bootblock.lds b/src/arch/armv7/bootblock.lds index fc58601439..9482cef34d 100644 --- a/src/arch/armv7/bootblock.lds +++ b/src/arch/armv7/bootblock.lds @@ -25,7 +25,7 @@ OUTPUT_ARCH(arm) TARGET(binary) SECTIONS { - ROMLOC = CONFIG_BOOTBLOCK_BASE - CONFIG_BL1_SIZE_KB; + ROMLOC = CONFIG_BOOTBLOCK_BASE - (CONFIG_BL1_SIZE_KB * 1024); /* This section might be better named .setup */ .rom ROMLOC : { diff --git a/src/cpu/samsung/exynos5250/Kconfig b/src/cpu/samsung/exynos5250/Kconfig index 3e61087c76..357817eb71 100644 --- a/src/cpu/samsung/exynos5250/Kconfig +++ b/src/cpu/samsung/exynos5250/Kconfig @@ -16,7 +16,7 @@ config SATA_AHCI config BL1_SIZE_KB int - default 8192 + default 8 # Example SRAM/iRAM map for Exynos5250 platform: # |