summaryrefslogtreecommitdiff
path: root/board/freescale/mx6sl_arm2/mx6sl_arm2.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/mx6sl_arm2/mx6sl_arm2.c')
-rw-r--r--board/freescale/mx6sl_arm2/mx6sl_arm2.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/board/freescale/mx6sl_arm2/mx6sl_arm2.c b/board/freescale/mx6sl_arm2/mx6sl_arm2.c
index 0772c09..5c28ebc 100644
--- a/board/freescale/mx6sl_arm2/mx6sl_arm2.c
+++ b/board/freescale/mx6sl_arm2/mx6sl_arm2.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2012 Freescale Semiconductor, Inc.
+ * Copyright (C) 2010-2013 Freescale Semiconductor, Inc.
*
* See file CREDITS for list of people who contributed to this
* project.
@@ -160,20 +160,6 @@ struct fsl_esdhc_cfg usdhc_cfg[3] = {
{USDHC3_BASE_ADDR, 1, 1, 1, 1},
};
-#ifdef CONFIG_DYNAMIC_MMC_DEVNO
-int get_mmc_env_devno(void)
-{
- uint soc_sbmr = readl(SRC_BASE_ADDR + 0x4);
-
- if (SD_BOOT == boot_dev || MMC_BOOT == boot_dev) {
- /* BOOT_CFG2[3] and BOOT_CFG2[4] */
- return (soc_sbmr & 0x00001800) >> 11;
- } else
- return -1;
-
-}
-#endif
-
iomux_v3_cfg_t usdhc1_pads[] = {
/* 8 bit SD */
MX6SL_PAD_SD1_CLK__USDHC1_CLK,