aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPraneeth Bajjuri2018-04-25 16:03:24 -0500
committerTom Rini2018-05-08 09:07:37 -0400
commitb2031ff766f993451e1d55c7d420374863c24588 (patch)
tree9d1d048f3f77cacec2f29989f9d636424cf4b4b8
parent58a46f88aff1f10f02905c0bec8366bc02e1765b (diff)
env: ti: android: boot with FIT Image
Boot android over emmc by default thru FIT image Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Suggested-by: Andrew F.Davis <afd@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
-rw-r--r--include/environment/ti/boot.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h
index 31042fad670..a0e1cd1656a 100644
--- a/include/environment/ti/boot.h
+++ b/include/environment/ti/boot.h
@@ -36,6 +36,7 @@
"run mmcboot;\0" \
"emmc_android_boot=" \
"echo Trying to boot Android from eMMC ...; " \
+ "run update_to_fit; " \
"setenv eval_bootargs setenv bootargs $bootargs; " \
"run eval_bootargs; " \
"setenv mmcdev 1; " \
@@ -48,7 +49,7 @@
"part size mmc ${mmcdev} boot boot_size; " \
"mmc read ${fdtaddr} ${fdt_start} ${fdt_size}; " \
"mmc read ${loadaddr} ${boot_start} ${boot_size}; " \
- "bootm $loadaddr $loadaddr $fdtaddr;\0"
+ "bootm ${loadaddr}#${fdtfile};\0 "
#ifdef CONFIG_OMAP54XX