Skip to contentSkip to conversation

configs: Fix mmc rescan misuses

PATCH In review Karl Beldan 2 participants 3 messages Aug 2, 2016 – Aug 6, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: Fix mmc rescan misuses

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

---
 include/configs/omap3_evm_quick_mmc.h | 2 +-
 include/configs/omapl138_lcdk.h       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
include/configs/omap3_evm_quick_mmc.h +1 -1
index b7d8765..867856f 100644
@@ -61,7 +61,7 @@
 	"silent=1"
 
 #define CONFIG_BOOTCOMMAND			\
-	"mmc rescan 0; "			\
+	"mmc rescan; "				\
 	"fatload mmc 0 0x82000000 uImage; "	\
 	"bootm 0x82000000;"
 
include/configs/omapl138_lcdk.h +1 -1
index 1f36d36..d00cf50 100644
@@ -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
Signature · 1 line
2.9.0.rc1
#1 lore raw

PATCH 1/1 configs: Fix mmc rescan misuses

Quoted 4 lines · Karl Beldan

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

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160802/a2a38e49/attachment.sig>
#2 lore raw
In reply to Karl Beldan
Quoted 5 lines · Karl Beldan

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

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160805/d26c06ab/attachment.sig>