diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2016-03-09 15:39:35 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-15 21:30:17 -0400 |
commit | 18c534bbfbe9355fc5373547f4f89384a29da516 (patch) | |
tree | 9d92c14c0dc5fad3fc2a896f30feaa7b1b02bce1 /include/configs/am43xx_evm.h | |
parent | 592bc5e2696b681715f9a937d7ca0949d613f816 (diff) | |
download | u-boot-18c534bbfbe9355fc5373547f4f89384a29da516.tar.gz |
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/am43xx_evm.h')
-rw-r--r-- | include/configs/am43xx_evm.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index 0a96bd3b6e..b982ed69fa 100644 --- a/include/configs/am43xx_evm.h +++ b/include/configs/am43xx_evm.h @@ -259,10 +259,6 @@ "${optargs} " \ "root=${usbroot} " \ "rootfstype=${usbrootfstype}\0" \ - "bootenv=uEnv.txt\0" \ - "loadbootenv=load ${devtype} ${devnum} ${loadaddr} ${bootenv}\0" \ - "importbootenv=echo Importing environment from mmc ...; " \ - "env import -t $loadaddr $filesize\0" \ "ramargs=setenv bootargs console=${console} " \ "${optargs} " \ "root=${ramroot} " \ @@ -275,14 +271,6 @@ "setenv devtype mmc; " \ "if mmc rescan; then " \ "echo SD/MMC found on device ${devnum};" \ - "if run loadbootenv; then " \ - "echo Loaded environment from ${bootenv};" \ - "run importbootenv;" \ - "fi;" \ - "if test -n $uenvcmd; then " \ - "echo Running uenvcmd ...;" \ - "run uenvcmd;" \ - "fi;" \ "if run loadimage; then " \ "run loadfdt; " \ "echo Booting from mmc${mmcdev} ...; " \ @@ -329,6 +317,7 @@ #define CONFIG_BOOTCOMMAND \ "run findfdt; " \ + "run envboot;" \ "run mmcboot;" \ "run usbboot;" \ NANDBOOT \ |