cpu/allwinner/a10/Kconfig: Link ramstage at base of SDRAM

The default linking behavior of ramstage was changed in commit
* 8f99378 ARMv7/Exynos: Fix memory location assumptions

However, that commit failed to address the issue of maintaining
linking behavior on non-Exynos chips. As a result we ended up
linking ramstage at address 0, which is outside of SDRAM.

Explicitly link ramstage at SDRAM base for A10. This patch does not
address the issue on other chips that were broken by commit 8f99378.

Change-Id: I90fa41d3eabf110b5ab24c31b78ac6d0474e4083
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: http://review.coreboot.org/8443
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Alexandru Gagniuc 2015-02-14 02:00:32 -06:00
parent 24501cae52
commit 4b10dec1a6
1 changed files with 5 additions and 0 deletions

View File

@ -36,6 +36,11 @@ config CBFS_HEADER_ROM_OFFSET
config CBFS_ROM_OFFSET config CBFS_ROM_OFFSET
default 0x5fc0 default 0x5fc0
# Arbitrarily chosen to be at the base of SDRAM
config RAMSTAGE_BASE
hex
default SYS_SDRAM_BASE
# 16 MiB above ramstage, so there is no overlap # 16 MiB above ramstage, so there is no overlap
config ROMSTAGE_BASE config ROMSTAGE_BASE
hex hex