summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorMarkus Niebel <Markus.Niebel@tq-group.com>2017-02-03 16:14:01 +0100
committerStefano Babic <sbabic@denx.de>2017-02-19 17:16:51 +0100
commit34713901ad19561caca7cef23a9a720a5adb188b (patch)
tree9ae8236a5ff506adae2b26f22af9c8ff75f0255d /include/configs
parent0b14f1a61510fef6262ba32b2726c7856e2571b2 (diff)
mx6: tqma6: add rootfsmode environment for mmc / sd
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/tqma6.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/tqma6.h b/include/configs/tqma6.h
index 874b44b281..311221d75b 100644
--- a/include/configs/tqma6.h
+++ b/include/configs/tqma6.h
@@ -295,6 +295,7 @@
"cma_size="__stringify(TQMA6_CMA_SIZE)"\0" \
"fdt_high=0xffffffff\0" \
"initrd_high=0xffffffff\0" \
+ "rootfsmode=ro\0" \
"addcma=setenv bootargs ${bootargs} cma=${cma_size}\0" \
"addtty=setenv bootargs ${bootargs} console=${console},${baudrate}\0" \
"addfb=setenv bootargs ${bootargs} " \
@@ -303,7 +304,8 @@
"mmcblkdev=0\0" \
"mmcargs=run addmmc addtty addfb addcma\0" \
"addmmc=setenv bootargs ${bootargs} " \
- "root=/dev/mmcblk${mmcblkdev}p${mmcpart} rw rootwait\0" \
+ "root=/dev/mmcblk${mmcblkdev}p${mmcpart} ${rootfsmode} " \
+ "rootwait\0" \
"mmcboot=echo Booting from mmc ...; " \
"setenv bootargs; " \
"run mmcargs; " \