]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: vf610: fix boot from SD-card
authorStefan Agner <stefan@agner.ch>
Thu, 8 Jan 2015 17:18:25 +0000 (18:18 +0100)
committerTom Rini <trini@ti.com>
Fri, 9 Jan 2015 15:27:51 +0000 (10:27 -0500)
commitb188067f39627d977bb1db67c8456e9aaab90743
treed014310285b33d1c1fb6a19d7f8a137d07f04bb2
parent75d7a0d7f11ef66dcd3c27ae141f6b59f2ffd00d
arm: vf610: fix boot from SD-card

Boot from SD-card (and probably also from NAND) was broken since
commit d6d07a9bec ("arm: vf610: add NAND support for vf610twr").
It looks like the increased size of U-Boot lead to a situation
where the boot ROM overwrote its own stack/heap while loading
U-Boot from the SD-card to the SRAM. However, U-Boot worked fine
when loaded through USB serial loader directly into SRAM. It
looks like loading from SD-card uses other stack/heap location
then the serial loader (or maybe no stack or heap at all).
This fix moves U-Boot to gfxRAM, which is 512kB in size and is not
used by the boot ROM nor the SD-card loader of it.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Bill Pringlemeir <bpringlemeir@nbsps.com>
include/configs/vf610twr.h