aboutsummaryrefslogtreecommitdiff
path: root/include/configs/ti_armv7_common.h
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2019-08-26 17:51:00 -0400
committerTom Rini <trini@konsulko.com>2019-09-13 11:56:30 -0400
commit76470b6929d587aa7d0294717f24ecf6fc2ce26a (patch)
treed099bf248e5ca0ca73db14af97fe6e50c2049a2d /include/configs/ti_armv7_common.h
parent16f14b930d4e8b11fc7d59cda19c5c0bf1eef0e6 (diff)
downloadu-boot-76470b6929d587aa7d0294717f24ecf6fc2ce26a.zip
u-boot-76470b6929d587aa7d0294717f24ecf6fc2ce26a.tar.gz
u-boot-76470b6929d587aa7d0294717f24ecf6fc2ce26a.tar.bz2
configs: ti: Add environment support commands for FIT loading
Some parts of these commands can be reused, add them to common files. Signed-off-by: Andrew F. Davis <afd@ti.com>
Diffstat (limited to 'include/configs/ti_armv7_common.h')
-rw-r--r--include/configs/ti_armv7_common.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
index 2058f8d..2de6bc2 100644
--- a/include/configs/ti_armv7_common.h
+++ b/include/configs/ti_armv7_common.h
@@ -55,7 +55,13 @@
"addr_fit=0x90000000\0" \
"name_fit=fitImage\0" \
"update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${name_fit}\0" \
- "loadfit=run args_mmc; bootm ${loadaddr}#${fdtfile};\0" \
+ "get_overlaystring=" \
+ "for overlay in $overlay_files;" \
+ "do;" \
+ "setenv overlaystring ${overlaystring}'#'${overlay};" \
+ "done;\0" \
+ "run_fit=bootm ${loadaddr}#${fdtfile}${overlaystring}\0" \
+ "loadfit=run args_mmc; run run_fit;\0" \
/*
* DDR information. If the CONFIG_NR_DRAM_BANKS is not defined,