From 4425be39eb40dbf02149b458d7c9b6190cc261bb Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Tue, 2 May 2017 20:27:45 +0200 Subject: ARM: at91: ma5d4: Swap SD/MMC controller order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The SDHCI1 is the primary boot controller on rev. 2.1 SoM, which is the version available on the market. Swap the controller order to match this and future versions of the SoM. Signed-off-by: Marek Vasut Cc: Andreas Bießmann --- include/configs/ma5d4evk.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/configs/ma5d4evk.h b/include/configs/ma5d4evk.h index 4bcbf2cb13a..0bb1ebb2f9b 100644 --- a/include/configs/ma5d4evk.h +++ b/include/configs/ma5d4evk.h @@ -130,9 +130,9 @@ "consdev=ttyS3\0" \ "baudrate=115200\0" \ "bootscript=boot.scr\0" \ - "bootdev=/dev/mmcblk1p1\0" \ - "bootpart=1:1\0" \ - "rootdev=/dev/mmcblk1p2\0" \ + "bootdev=/dev/mmcblk0p1\0" \ + "bootpart=0:1\0" \ + "rootdev=/dev/mmcblk0p2\0" \ "netdev=eth0\0" \ "dfu_alt_info=mmc raw 0 3867148288\0" \ "kernel_addr_r=0x22000000\0" \ @@ -189,8 +189,8 @@ "bootm ${kernel_addr_r}\0" \ "try_bootscript=" \ "mmc rescan;" \ - "if test -e mmc ${bootpart} ${bootscript} ; then " \ - "if load mmc ${bootpart} ${kernel_addr_r} ${bootscript};"\ + "if test -e mmc 1:1 ${bootscript} ; then " \ + "if load mmc 1:1 ${kernel_addr_r} ${bootscript};" \ "then ; " \ "echo Running bootscript... ; " \ "source ${kernel_addr_r} ; " \ -- cgit v1.2.3