summaryrefslogtreecommitdiffstats
path: root/include/configs/ti_armv7_common.h
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2015-08-28 13:35:07 +0530
committerTom Rini <trini@konsulko.com>2015-09-11 14:05:37 -0400
commit85d17be374678ec37fd1e55db994a942e400dc80 (patch)
treefae05a2401d0aaf17b21c4f3ea1445efcb84759a /include/configs/ti_armv7_common.h
parent8ebaaed22b1d0d9dfa60d7e7e69b8628a8a34245 (diff)
downloadtalos-obmc-uboot-85d17be374678ec37fd1e55db994a942e400dc80.tar.gz
talos-obmc-uboot-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_armv7_common.h')
-rw-r--r--include/configs/ti_armv7_common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
index 18fca02c4c..1a4b6d9900 100644
--- a/include/configs/ti_armv7_common.h
+++ b/include/configs/ti_armv7_common.h
@@ -58,6 +58,14 @@
"ramdisk_addr_r=0x88080000\0" \
"bootm_size=0x10000000\0"
+#define DEFAULT_MMC_TI_ARGS \
+ "mmcdev=0\0" \
+ "mmcrootfstype=ext4 rootwait\0" \
+ "args_mmc=setenv bootargs console=${console} " \
+ "${optargs} " \
+ "root=${mmcroot} " \
+ "rootfstype=${mmcrootfstype}\0"
+
/*
* Default to a quick boot delay.
*/
OpenPOWER on IntegriCloud