[U-Boot] [PATCH] configs: Fix mmc rescan misuses

Karl Beldan kbeldan at baylibre.com
Tue Aug 2 12:36:17 CEST 2016


This follows 9fd383724cf4 ("mmc: don't allow extra cmdline arguments"),
and affects omapl138_lcdk and omap3_evm_quick_mmc.

Signed-off-by: Karl Beldan <kbeldan at baylibre.com>
---
 include/configs/omap3_evm_quick_mmc.h | 2 +-
 include/configs/omapl138_lcdk.h       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/omap3_evm_quick_mmc.h b/include/configs/omap3_evm_quick_mmc.h
index b7d8765..867856f 100644
--- a/include/configs/omap3_evm_quick_mmc.h
+++ b/include/configs/omap3_evm_quick_mmc.h
@@ -61,7 +61,7 @@
 	"silent=1"
 
 #define CONFIG_BOOTCOMMAND			\
-	"mmc rescan 0; "			\
+	"mmc rescan; "				\
 	"fatload mmc 0 0x82000000 uImage; "	\
 	"bootm 0x82000000;"
 
diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h
index 1f36d36..d00cf50 100644
--- a/include/configs/omapl138_lcdk.h
+++ b/include/configs/omapl138_lcdk.h
@@ -203,7 +203,7 @@
 #define CONFIG_REVISION_TAG
 #define CONFIG_SETUP_MEMORY_TAGS
 #define CONFIG_BOOTARGS		"console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=off"
-#define CONFIG_BOOTCOMMAND	"if mmc rescan 0; then if fatload mmc 0 0xc0600000 boot.scr; then source 0xc0600000; else fatload mmc 0 0xc0700000 uImage; bootm c0700000; fi; else sf probe 0; sf read 0xc0700000 0x80000 0x220000; bootm 0xc0700000; fi"
+#define CONFIG_BOOTCOMMAND	"if mmc rescan; then if fatload mmc 0 0xc0600000 boot.scr; then source 0xc0600000; else fatload mmc 0 0xc0700000 uImage; bootm c0700000; fi; else sf probe 0; sf read 0xc0700000 0x80000 0x220000; bootm 0xc0700000; fi"
 
 /*
  * U-Boot commands
-- 
2.9.0.rc1



More information about the U-Boot mailing list