[U-Boot] [PATCH v1] LS2080ardb: MMC: disable esdhc for dspi
Yinbo Zhu
yinbo.zhu at nxp.com
Thu Nov 22 08:17:04 UTC 2018
esdhc and dspi have Multiplexed pins, if dspi is enabled
and esdhc need to be disabled, This patch is to disable
esdhc when rcw config dspi enabled.
Signed-off-by: Yinbo Zhu <yinbo.zhu at nxp.com>
---
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