[U-Boot] [PATCH v2] armv8: ls2080ardb: enable eSDHC pin mux support

Yinbo Zhu yinbo.zhu at nxp.com
Thu Nov 22 09:01:11 UTC 2018


CONFIG_FSL_ESDHC_PIN_MUX should be enabled for ls2080ardb
whose eSDHC has pin mux with DSPI. This config makes sure
esdhc dts node would be fixed with disabled status if
DSPI is used, in case of any mmc issue in linux. Also,
esdhc should be added in default hwconfig since eSDHC is
used in default.

Signed-off-by: Yinbo Zhu <yinbo.zhu at nxp.com>
---
Change in v2:
		Update the commit information.

 include/configs/ls2080ardb.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index f6aa4ed..d2e80a8 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -331,6 +331,7 @@ unsigned long get_board_sys_clk(void);
 /*  MMC  */
 #ifdef CONFIG_MMC
 #define CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33
+#define CONFIG_FSL_ESDHC_PIN_MUX
 #endif
 
 #define BOOT_TARGET_DEVICES(func) \
@@ -390,7 +391,7 @@ unsigned long get_board_sys_clk(void);
 #undef CONFIG_EXTRA_ENV_SETTINGS
 #ifdef CONFIG_TFABOOT
 #define CONFIG_EXTRA_ENV_SETTINGS		\
-	"hwconfig=fsl_ddr:bank_intlv=auto\0"	\
+	"hwconfig=fsl_ddr:bank_intlv=auto;esdhc\0"	\
 	"ramdisk_addr=0x800000\0"		\
 	"ramdisk_size=0x2000000\0"		\
 	"fdt_high=0xa0000000\0"			\
@@ -459,7 +460,7 @@ unsigned long get_board_sys_clk(void);
 		"bootm $load_addr#$board\0"
 #else
 #define CONFIG_EXTRA_ENV_SETTINGS		\
-	"hwconfig=fsl_ddr:bank_intlv=auto\0"	\
+	"hwconfig=fsl_ddr:bank_intlv=auto;esdhc\0"	\
 	"ramdisk_addr=0x800000\0"		\
 	"ramdisk_size=0x2000000\0"		\
 	"fdt_high=0xa0000000\0"			\
-- 
1.7.1



More information about the U-Boot mailing list