diff mbox series

[V2,05/12] configs: mx7dsabresd: drop unused SDHC macro

Message ID 20220415042416.23611-6-peng.fan@oss.nxp.com
State Accepted
Commit 0f82da2b9008360c6d1586b0a0abd780edc94c4f
Delegated to: Stefano Babic
Headers show
Series configs: clean up SDHC marco and MMCROOT | expand

Commit Message

Peng Fan (OSS) April 15, 2022, 4:23 a.m. UTC
From: Peng Fan <peng.fan@nxp.com>

With SPL_DM_MMC and DM_MMC, the two macros not needed, drop it.
 CONFIG_SYS_FSL_USDHC_NUM
 CONFIG_SYS_FSL_ESDHC_ADDR

Reviewed-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 include/configs/mx7dsabresd.h | 9 ---------
 1 file changed, 9 deletions(-)

Comments

Stefano Babic April 22, 2022, 8:46 a.m. UTC | #1
> From: Peng Fan <peng.fan@nxp.com>
> With SPL_DM_MMC and DM_MMC, the two macros not needed, drop it.
>  CONFIG_SYS_FSL_USDHC_NUM
>  CONFIG_SYS_FSL_ESDHC_ADDR
> Reviewed-by: Fabio Estevam <festevam@denx.de>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h
index d411b1a3866..aaad232f0e4 100644
--- a/include/configs/mx7dsabresd.h
+++ b/include/configs/mx7dsabresd.h
@@ -14,9 +14,6 @@ 
 
 #define CONFIG_MXC_UART_BASE            UART1_IPS_BASE_ADDR
 
-/* MMC Config*/
-#define CONFIG_SYS_FSL_ESDHC_ADDR       0
-
 #ifdef CONFIG_IMX_BOOTAUX
 /* Set to QSPI1 A flash at default */
 #define CONFIG_SYS_AUXCORE_BOOTDATA 0x60000000
@@ -111,12 +108,6 @@ 
 /* DMA stuff, needed for GPMI/MXS NAND support */
 #endif
 
-#ifdef CONFIG_NAND_MXS
-#define CONFIG_SYS_FSL_USDHC_NUM	1
-#else
-#define CONFIG_SYS_FSL_USDHC_NUM	2
-#endif
-
 /* USB Configs */
 #define CONFIG_MXC_USB_PORTSC  (PORT_PTS_UTMI | PORT_PTS_PTW)