summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Rabe <matthias.rabe@sigma-chemnitz.de>2017-08-25 20:01:10 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-04-16 09:58:06 +0200
commit6f4837e665dffe855c478dee50a9fc8894d8dba7 (patch)
treed9e472aa98dbcf9a96de120c82f289f351825335
parentc5f5d175e9904358ff201924d174ef62347af8dc (diff)
downloadbarebox-6f4837e665dffe855c478dee50a9fc8894d8dba7.tar.gz
barebox-6f4837e665dffe855c478dee50a9fc8894d8dba7.tar.xz
ARM: i.MX: phytec-som-imx: env: automount emmc if available
added automount configuration for emmc, if available. needed f.e. by the android boot. Signed-off-by: Matthias Rabe <matthias.rabe@sigma-chemnitz.de> Tested-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
-rw-r--r--arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/init/automount5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/init/automount b/arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/init/automount
index 4b223d8037..fea64d627e 100644
--- a/arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/init/automount
+++ b/arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/init/automount
@@ -7,3 +7,8 @@ automount /mnt/tftp 'ifup eth0 && mount -t tftp $eth0.serverip /mnt/tftp'
mkdir -p /mnt/mmc
automount -d /mnt/mmc 'mmc2.probe=1 && [ -e /dev/mmc2.0 ] && mount /dev/mmc2.0 /mnt/mmc'
+
+if [ -e /dev/mmc3 ]; then
+ mkdir -p /mnt/mmc3
+ automount -d /mnt/mmc3 'mmc3.probe=1 && [ -e /dev/mmc3.0 ] && mount /dev/mmc3.0 /mnt/mmc3'
+fi