From d9114e2b73552be7f9035c7567ea14febefa0dce Mon Sep 17 00:00:00 2001 From: Yangbo Lu Date: Tue, 12 Nov 2019 19:28:37 +0800 Subject: arm: ls1021a: drop redundant board_mmc_init() The board_mmc_init() defined in board files is actually doing same thing with the cpu_mmc_init() defined in arch/arm/cpu/armv7/ls102xa/cpu.c. So drop it. Signed-off-by: Yangbo Lu Reviewed-by: Priyanka Jain --- board/freescale/ls1021aiot/ls1021aiot.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'board/freescale/ls1021aiot/ls1021aiot.c') diff --git a/board/freescale/ls1021aiot/ls1021aiot.c b/board/freescale/ls1021aiot/ls1021aiot.c index 70992a5ce4..621a3db6f6 100644 --- a/board/freescale/ls1021aiot/ls1021aiot.c +++ b/board/freescale/ls1021aiot/ls1021aiot.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include @@ -103,20 +102,6 @@ int dram_init(void) return 0; } -#ifdef CONFIG_FSL_ESDHC -struct fsl_esdhc_cfg esdhc_cfg[1] = { - {CONFIG_SYS_FSL_ESDHC_ADDR}, -}; - -int board_mmc_init(bd_t *bis) -{ - esdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC_CLK); - - return fsl_esdhc_initialize(bis, &esdhc_cfg[0]); -} - -#endif - #ifdef CONFIG_TSEC_ENET int board_eth_init(bd_t *bis) { -- cgit