summaryrefslogtreecommitdiff
path: root/board/freescale/mx6q_sabresd
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/mx6q_sabresd')
-rw-r--r--board/freescale/mx6q_sabresd/mx6q_sabresd.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/board/freescale/mx6q_sabresd/mx6q_sabresd.c b/board/freescale/mx6q_sabresd/mx6q_sabresd.c
index 6b603e8..c896c93 100644
--- a/board/freescale/mx6q_sabresd/mx6q_sabresd.c
+++ b/board/freescale/mx6q_sabresd/mx6q_sabresd.c
@@ -958,20 +958,6 @@ struct fsl_esdhc_cfg usdhc_cfg[4] = {
{USDHC4_BASE_ADDR, 1, 1, 1, 0},
};
-#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
-
#if defined CONFIG_MX6Q
iomux_v3_cfg_t usdhc1_pads[] = {
MX6Q_PAD_SD1_CLK__USDHC1_CLK,