configs: ti: Use addr_fit for run_fit environment variable
authorAndrew F. Davis <afd@ti.com>
Tue, 17 Sep 2019 19:40:25 +0000 (15:40 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 11 Oct 2019 17:31:18 +0000 (13:31 -0400)
When running 'run_fit' the FIT file should have been loaded at
'addr_fit', although at this point they should be the same
use this variable instead of 'loadaddr'.

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

index 2de6bc239090c4d4fd926d716012cf4d27913550..6d15304a65cc717bce2445e6759574c5763069f9 100644 (file)
@@ -60,7 +60,7 @@
                "do;" \
                "setenv overlaystring ${overlaystring}'#'${overlay};" \
                "done;\0" \
-       "run_fit=bootm ${loadaddr}#${fdtfile}${overlaystring}\0" \
+       "run_fit=bootm ${addr_fit}#${fdtfile}${overlaystring}\0" \
        "loadfit=run args_mmc; run run_fit;\0" \
 
 /*