diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2016-11-29 11:57:59 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-12-03 13:21:07 -0500 |
commit | 2a77788439ab08409d449fe08419f3a0e3709a3a (patch) | |
tree | 0de05f54457093e9c3d2d0e4f6a0cc3c6a454514 /include/configs/am335x_evm.h | |
parent | 998250f78499a97bfa1ec032e31a6485b1e9538d (diff) | |
download | u-boot-2a77788439ab08409d449fe08419f3a0e3709a3a.tar.gz |
ti_armv7_common: env: Consolidate support for loading images from mmc
Support for loading images from mmc is duplicated in all TI platforms.
Add this information to DEFAULT_MMC_TI_ARGS so that it can be reused
in all TI platforms.
Reviewed-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/am335x_evm.h')
-rw-r--r-- | include/configs/am335x_evm.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 27d26af6f1..98827a107b 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -102,7 +102,6 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ DEFAULT_LINUX_BOOT_ENV \ DEFAULT_MMC_TI_ARGS \ - "boot_fdt=try\0" \ "bootpart=0:2\0" \ "bootdir=/boot\0" \ "bootfile=zImage\0" \ @@ -128,30 +127,6 @@ "root=${ramroot} " \ "rootfstype=${ramrootfstype}\0" \ "loadramdisk=load mmc ${mmcdev} ${rdaddr} ramdisk.gz\0" \ - "loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \ - "loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \ - "mmcloados=run args_mmc; " \ - "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \ - "if run loadfdt; then " \ - "bootz ${loadaddr} - ${fdtaddr}; " \ - "else " \ - "if test ${boot_fdt} = try; then " \ - "bootz; " \ - "else " \ - "echo WARN: Cannot load the DT; " \ - "fi; " \ - "fi; " \ - "else " \ - "bootz; " \ - "fi;\0" \ - "mmcboot=mmc dev ${mmcdev}; " \ - "if mmc rescan; then " \ - "echo SD/MMC found on device ${mmcdev};" \ - "run envboot; " \ - "if run loadimage; then " \ - "run mmcloados;" \ - "fi;" \ - "fi;\0" \ "spiboot=echo Booting from spi ...; " \ "run spiargs; " \ "sf probe ${spibusno}:0; " \ |