move iRAM config variable to exynos5250 Kconfig

Since these don't seem very generic and depend on the BL1, let's
move them to the CPU-specific Kconfig.

Change-Id: I33059b7db30d35a1853918a580f312e50a3499fa
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: http://review.coreboot.org/2077
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
David Hendricks 2012-12-27 13:50:32 -08:00 committed by Ronald G. Minnich
parent 37a8516370
commit f1dfb2eb94
2 changed files with 20 additions and 26 deletions

View File

@ -15,32 +15,6 @@ config SKIP_LOWLEVEL_INIT
Certain functions (ie PLL init) and processor features may already be
handled by masked ROM code.
config IRAM_BOTTOM
hex
default 0x02020000
# FIXME(dhendrix): 0x02050000 was in the u-boot sources, but the docs say the
# iRAM range is 0x0202_0000 - 0x0207_7fff (352KB).
#config IRAM_TOP
# hex
# default 0x02050000
config IRAM_TOP
hex
default 0x02077fff
config SYS_INIT_SP_ADDR
hex
default 0x0204F800
config IRAM_STACK
hex
default SYS_INIT_SP_ADDR
# FIXME(dhendrix): what should this really be?
config XIP_ROM_SIZE
hex
default 0x20000
if CPU_SAMSUNG_EXYNOS5
source src/cpu/samsung/exynos5250/Kconfig
endif

View File

@ -26,3 +26,23 @@ config RAMBASE
config RAMTOP
hex
default 0x40100000
config IRAM_BOTTOM
hex
default 0x02020000
config IRAM_TOP
hex
default 0x02077fff
config SYS_INIT_SP_ADDR
hex
default 0x0204F800
config IRAM_STACK
hex
default SYS_INIT_SP_ADDR
config XIP_ROM_SIZE
hex "ROM stage (BL2) size"
default 0x20000