[U-Boot] [PATCH v2] mx6ul_evk: Remove CONFIG_SUPPORT_EMMC_BOOT

Fabio Estevam festevam at gmail.com
Thu Apr 21 03:48:13 CEST 2016


From: Fabio Estevam <fabio.estevam at nxp.com>

mx6ul_evk does not come with a eMMC populated, so we should not
define CONFIG_SUPPORT_EMMC_BOOT as it causes SPL to not be able
to boot some brands of SD cards, such as SanDisk microSD HC - 8GB:

U-Boot SPL 2016.05-rc1-28384-g108f841 (Apr 19 2016 - 11:19:11)                 
Trying to boot from MMC1                                                       
spl: mmc block read error                                                      
SPL: failed to boot from all boot devices                                      
### ERROR ### Please RESET the board ###

When CONFIG_SUPPORT_EMMC_BOOT is defined spl_boot_mode() returns
MMCSD_MODE_EMMCBOOT, so remove this option to have a reliable boot
via SD card.

Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
---
Changes since v1:
- Keep using SPL. Fix the boot issue by removing CONFIG_SUPPORT_EMMC_BOOT
 
 include/configs/mx6ul_14x14_evk.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h
index 2fff34a..76929ac 100644
--- a/include/configs/mx6ul_14x14_evk.h
+++ b/include/configs/mx6ul_14x14_evk.h
@@ -46,7 +46,6 @@
 #define CONFIG_SYS_FSL_USDHC_NUM	2
 #endif
 
-#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
 #endif
 
 /* I2C configs */
-- 
1.9.1



More information about the U-Boot mailing list