summaryrefslogtreecommitdiff
path: root/board/compulab/cm_fx6/cm_fx6.c
diff options
context:
space:
mode:
authorChristopher Spinrath <christopher.spinrath@rwth-aachen.de>2017-11-30 22:38:40 +0100
committerStefano Babic <sbabic@denx.de>2017-12-29 11:18:59 +0100
commite743f1e5985818dd267d18aec6879ccebcaee078 (patch)
tree87870352a1cfd98e29efd15daba420c18bafd787 /board/compulab/cm_fx6/cm_fx6.c
parent56b801c5d3d9aeaf7219c14392b94a517fb54875 (diff)
ARM: imx: cm_fx6: remove esdhc init code from board file
Commit 5248930ebf48 ("dm: imx: cm_fx6: Enable more driver model support") enabled driver model support for MMC. Remove the old mmc init code, which is no longer used, from the board file. Signed-off-by: Christopher Spinrath <christopher.spinrath@rwth-aachen.de> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/compulab/cm_fx6/cm_fx6.c')
-rw-r--r--board/compulab/cm_fx6/cm_fx6.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c
index 81438cd28c..620c3f2d0d 100644
--- a/board/compulab/cm_fx6/cm_fx6.c
+++ b/board/compulab/cm_fx6/cm_fx6.c
@@ -506,35 +506,6 @@ static void cm_fx6_setup_gpmi_nand(void)
static void cm_fx6_setup_gpmi_nand(void) {}
#endif
-#ifdef CONFIG_FSL_ESDHC
-static struct fsl_esdhc_cfg usdhc_cfg[3] = {
- {USDHC1_BASE_ADDR},
- {USDHC2_BASE_ADDR},
- {USDHC3_BASE_ADDR},
-};
-
-static enum mxc_clock usdhc_clk[3] = {
- MXC_ESDHC_CLK,
- MXC_ESDHC2_CLK,
- MXC_ESDHC3_CLK,
-};
-
-int board_mmc_init(bd_t *bis)
-{
- int i;
-
- cm_fx6_set_usdhc_iomux();
- for (i = 0; i < CONFIG_SYS_FSL_USDHC_NUM; i++) {
- usdhc_cfg[i].sdhc_clk = mxc_get_clock(usdhc_clk[i]);
- usdhc_cfg[i].max_bus_width = 4;
- fsl_esdhc_initialize(bis, &usdhc_cfg[i]);
- enable_usdhc_clk(1, i);
- }
-
- return 0;
-}
-#endif
-
#ifdef CONFIG_MXC_SPI
int cm_fx6_setup_ecspi(void)
{