]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
am33xx: Correct NON_SECURE_SRAM_START/END
authorTom Rini <trini@ti.com>
Fri, 31 May 2013 14:48:03 +0000 (10:48 -0400)
committerTom Rini <trini@ti.com>
Tue, 4 Jun 2013 20:32:31 +0000 (16:32 -0400)
commit320d9746d3aa8373b86e8f6331bc7c8c8c87fced
treeb7f97d7ec22b265cbcc426751136d6bbfa7a685b
parent0ac6db263132113f2ada36628a04e73d3dc2949a
am33xx: Correct NON_SECURE_SRAM_START/END

Prior to Sricharan's cleanup of the boot parameter saving code, we
did not make use of NON_SECURE_SRAM_START on am33xx, so it wasn't a
problem that the address was pointing to the middle of our running SPL.
Correct to point to the base location of the download image area.
Increase CONFIG_SPL_TEXT_BASE to account for this scratch area being
used.  As part of correcting these tests, make use of the fact that
we've always been placing our stack outside of the download image area
(which is fine, once the downloaded image is run, ROM is gone) so
correct the max size test to be the ROM defined top of the download area
to where we link/load at.

Signed-off-by: Tom Rini <trini@ti.com>
---
Changes in v2:
- Fix typo noted by Peter Korsgaard
arch/arm/include/asm/arch-am33xx/omap.h
include/configs/am335x_evm.h
include/configs/igep0033.h
include/configs/pcm051.h