summaryrefslogtreecommitdiff
path: root/board/freescale/ls1021atwr
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2019-11-12 14:28:37 +0300
committerPeng Fan <peng.fan@nxp.com>2019-11-27 11:55:56 +0300
commitd9114e2b73552be7f9035c7567ea14febefa0dce (patch)
tree915ab8c405d1e1d1f916bd5310064b1ff65b27b1 /board/freescale/ls1021atwr
parent5e81cbff375c909637323167b1704596f9088c6a (diff)
downloadu-boot-d9114e2b73552be7f9035c7567ea14febefa0dce.tar.xz
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 <yangbo.lu@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'board/freescale/ls1021atwr')
-rw-r--r--board/freescale/ls1021atwr/ls1021atwr.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/board/freescale/ls1021atwr/ls1021atwr.c b/board/freescale/ls1021atwr/ls1021atwr.c
index fcf2ec9788..1a412eed1c 100644
--- a/board/freescale/ls1021atwr/ls1021atwr.c
+++ b/board/freescale/ls1021atwr/ls1021atwr.c
@@ -14,7 +14,6 @@
#include <hwconfig.h>
#include <mmc.h>
#include <fsl_csu.h>
-#include <fsl_esdhc.h>
#include <fsl_ifc.h>
#include <fsl_immap.h>
#include <netdev.h>
@@ -233,19 +232,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
-
int board_eth_init(bd_t *bis)
{
return pci_eth_init(bis);