diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2015-08-28 13:35:07 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-09-11 14:05:37 -0400 |
commit | 85d17be374678ec37fd1e55db994a942e400dc80 (patch) | |
tree | fae05a2401d0aaf17b21c4f3ea1445efcb84759a /include/configs/ti_omap5_common.h | |
parent | 8ebaaed22b1d0d9dfa60d7e7e69b8628a8a34245 (diff) | |
download | u-boot-midas-85d17be374678ec37fd1e55db994a942e400dc80.tar.gz u-boot-midas-85d17be374678ec37fd1e55db994a942e400dc80.tar.bz2 u-boot-midas-85d17be374678ec37fd1e55db994a942e400dc80.zip |
ti_armv7_common: env: Consolidate MMC args
Define default mmc args in ti_armv7_common.h so that all
TI platforms can reuse.
Reported-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'include/configs/ti_omap5_common.h')
-rw-r--r-- | include/configs/ti_omap5_common.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h index 1c1f8c0830..189ea7e914 100644 --- a/include/configs/ti_omap5_common.h +++ b/include/configs/ti_omap5_common.h @@ -70,6 +70,7 @@ #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG #define CONFIG_EXTRA_ENV_SETTINGS \ DEFAULT_LINUX_BOOT_ENV \ + DEFAULT_MMC_TI_ARGS \ "console=" CONSOLEDEV ",115200n8\0" \ "fdtfile=undefined\0" \ "bootpart=0:2\0" \ @@ -80,14 +81,6 @@ "partitions=" PARTS_DEFAULT "\0" \ "optargs=\0" \ "dofastboot=0\0" \ - "mmcdev=0\0" \ - "mmcroot=/dev/mmcblk0p2 rw\0" \ - "mmcrootfstype=ext4 rootwait\0" \ - "mmcargs=setenv bootargs console=${console} " \ - "${optargs} " \ - "vram=${vram} " \ - "root=${mmcroot} " \ - "rootfstype=${mmcrootfstype}\0" \ "loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \ "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \ "source ${loadaddr}\0" \ @@ -110,7 +103,7 @@ "if run loadimage; then " \ "run loadfdt; " \ "echo Booting from mmc${mmcdev} ...; " \ - "run mmcargs; " \ + "run args_mmc; " \ "bootz ${loadaddr} - ${fdtaddr}; " \ "fi;" \ "fi;\0" \ |