aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/ti/am335x/bootblock_media.c
diff options
context:
space:
mode:
authorGabe Black <gabeblack@chromium.org>2013-07-01 05:16:19 -0700
committerRonald G. Minnich <rminnich@gmail.com>2013-07-15 18:34:59 +0200
commit6cfe223da0ac786e1aaf675fbb5dc605e600bb75 (patch)
treef9a9fed763338340db9ca70fca35a642bb742a91 /src/cpu/ti/am335x/bootblock_media.c
parent81cbadadc13a73220e8a02d47c2d0a182fa5b22f (diff)
am335x: Add the config variable ROMSTAGE_BASE to the CPU's Kconfig.
This variable wasn't being defined and was defaulting to zero when used in the ROM stage's linker script. This change defines it as a variable, and gives it a value which is slightly beyond the end of the bootblock. By making the ROM stage request to be loaded slightly farther into memory than it was loaded by the SOC's masked ROM, we ensure that it's moved away from the stage's metadata instead of on top of it. When it moves the other way, it clobbers important values like the entry point vefore the bootblock has had a chance to use them. Change-Id: I027a1365d05f1d79d7fc1e1349965ccb7d4e81b9 Signed-off-by: Gabe Black <gabeblack@chromium.org> Reviewed-on: http://review.coreboot.org/3582 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/cpu/ti/am335x/bootblock_media.c')
0 files changed, 0 insertions, 0 deletions