]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: ti: Move FIT image load address to avoid overwrite
authorAndrew F. Davis <afd@ti.com>
Tue, 26 Mar 2019 15:12:01 +0000 (10:12 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 29 Mar 2019 14:53:18 +0000 (10:53 -0400)
The FIT image is loaded to 0x8700_0000 followed by extracting from that
several large images also into the 0x8x00_0000 range. Large images
can end up overwriting the FIT image as it is being extracted from.
Move the FIT load address clear out to 0x9000_0000, this will require
a board to have at least 256MB of DRAM, if less then more careful
planning will be required for that platform.

Signed-off-by: Andrew F. Davis <afd@ti.com>
include/configs/ti_armv7_common.h

index 1e2a62dd6fade933ad13fec4c7147ac405564961..828fb1b2a59cd69fe284e9836e85618454159d99 100644 (file)
@@ -52,7 +52,7 @@
 
 #define DEFAULT_FIT_TI_ARGS \
        "boot_fit=0\0" \
-       "fit_loadaddr=0x87000000\0" \
+       "fit_loadaddr=0x90000000\0" \
        "fit_bootfile=fitImage\0" \
        "update_to_fit=setenv loadaddr ${fit_loadaddr}; setenv bootfile ${fit_bootfile}\0" \
        "loadfit=run args_mmc; bootm ${loadaddr}#${fdtfile};\0" \