From 6f4837e665dffe855c478dee50a9fc8894d8dba7 Mon Sep 17 00:00:00 2001 From: Matthias Rabe Date: Fri, 25 Aug 2017 20:01:10 +0200 Subject: 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 Tested-by: Wadim Egorov Signed-off-by: Christian Hemp --- .../arm/boards/phytec-som-imx6/defaultenv-physom-imx6/init/automount | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3