summaryrefslogtreecommitdiff
path: root/include/configs/ti_omap4_common.h
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2016-03-09 15:39:35 +0530
committerTom Rini <trini@konsulko.com>2016-03-15 21:30:17 -0400
commit18c534bbfbe9355fc5373547f4f89384a29da516 (patch)
tree9d92c14c0dc5fad3fc2a896f30feaa7b1b02bce1 /include/configs/ti_omap4_common.h
parent592bc5e2696b681715f9a937d7ca0949d613f816 (diff)
ti_armv7_common: env: Consolidate support for loading script and text env files
Support for loading bootscript and text env file is duplicated in all TI platforms. Add this information to DEFAULT_MMC_TI_ARGS so that it can be reused in all TI platforms. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/ti_omap4_common.h')
-rw-r--r--include/configs/ti_omap4_common.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h
index 72ed0b9ba9..586d84886e 100644
--- a/include/configs/ti_omap4_common.h
+++ b/include/configs/ti_omap4_common.h
@@ -103,6 +103,7 @@
#define CONFIG_BOOTCOMMAND \
"run findfdt; " \
+ "run envboot; " \
"run distro_bootcmd"
#include <config_distro_bootcmd.h>
@@ -117,12 +118,6 @@
"bootfile=zImage\0" \
"usbtty=cdc_acm\0" \
"vram=16M\0" \
- "loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
- "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
- "source ${loadaddr}\0" \
- "loadbootenv=load mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
- "importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
- "env import -t ${loadaddr} ${filesize}\0" \
"loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \
"loaduimage=load mmc ${mmcdev} ${loadaddr} uImage\0" \
"mmcboot=echo Booting from mmc${mmcdev} ...; " \