[U-Boot] [PATCH 2/2] omap3_pandora: Switch to using "load" command to load the autoboot script.

Vagrant Cascadian vagrant at debian.org
Mon Aug 29 09:56:06 CEST 2016


CONFIG_CMD_FS_GENERIC is enabled; use it to load the autoboot script,
rather than first attempting with fatload and falling back to
ext2load.

Signed-off-by: Vagrant Cascadian <vagrant at debian.org>
---

 include/configs/omap3_pandora.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/configs/omap3_pandora.h b/include/configs/omap3_pandora.h
index 6ff9375..0d733bd 100644
--- a/include/configs/omap3_pandora.h
+++ b/include/configs/omap3_pandora.h
@@ -93,8 +93,7 @@
 	"mtdparts=" MTDPARTS_DEFAULT "\0" \
 
 #define CONFIG_BOOTCOMMAND \
-	"if mmc rescan && fatload mmc 0:1 ${loadaddr} autoboot.scr || " \
-			"ext2load mmc 0:1 ${loadaddr} autoboot.scr; then " \
+	"if mmc rescan && load mmc 0:1 ${loadaddr} autoboot.scr; then " \
 		"source ${loadaddr}; " \
 	"fi; " \
 	"ubi part boot && ubifsmount ubi:boot && " \
-- 
2.9.3



More information about the U-Boot mailing list