karo: tx51,tx53,tx6: remove obsolete CONFIG_SYS_FSL_ESDHC_NUM definition
authorLothar Waßmann <LW@KARO-electronics.de>
Mon, 27 Jan 2014 11:19:08 +0000 (12:19 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 27 Jan 2014 11:19:08 +0000 (12:19 +0100)
board/karo/tx51/tx51.c
board/karo/tx53/tx53.c
board/karo/tx6/tx6qdl.c
include/configs/tx51.h
include/configs/tx53.h
include/configs/tx6.h

index bf289ba..9fc36f7 100644 (file)
@@ -378,9 +378,6 @@ int board_mmc_init(bd_t *bis)
                struct tx51_esdhc_cfg *cfg = &tx51_esdhc_cfg[i];
                int ret;
 
-               if (i >= CONFIG_SYS_FSL_ESDHC_NUM)
-                       break;
-
                imx_iomux_v3_setup_multiple_pads(cfg->pads,
                                                cfg->num_pads);
                cfg->cfg.sdhc_clk = mxc_get_clock(MXC_ESDHC_CLK);
index ccce6dc..363df2e 100644 (file)
@@ -472,9 +472,6 @@ int board_mmc_init(bd_t *bis)
                struct tx53_esdhc_cfg *cfg = &tx53_esdhc_cfg[i];
                int ret;
 
-               if (i >= CONFIG_SYS_FSL_ESDHC_NUM)
-                       break;
-
                imx_iomux_v3_setup_multiple_pads(cfg->pads, cfg->num_pads);
                cfg->cfg.sdhc_clk = mxc_get_clock(MXC_ESDHC_CLK);
 
index 6f3cd10..6324486 100644 (file)
@@ -539,9 +539,6 @@ int board_mmc_init(bd_t *bis)
                struct tx6_esdhc_cfg *cfg = &tx6qdl_esdhc_cfg[i];
                int ret;
 
-               if (i >= CONFIG_SYS_FSL_ESDHC_NUM)
-                       break;
-
                cfg->cfg.sdhc_clk = mxc_get_clock(cfg->clkid);
                imx_iomux_v3_setup_multiple_pads(cfg->pads, cfg->num_pads);
 
index 0eebd4e..dd35f84 100644 (file)
 #define CONFIG_GENERIC_MMC
 #define CONFIG_FSL_ESDHC
 #define CONFIG_SYS_FSL_ESDHC_ADDR      0
-#define CONFIG_SYS_FSL_ESDHC_NUM       2
 
 #define CONFIG_DOS_PARTITION
 #define CONFIG_CMD_FAT
index e832b42..d110f30 100644 (file)
 #define CONFIG_GENERIC_MMC
 #define CONFIG_FSL_ESDHC
 #define CONFIG_SYS_FSL_ESDHC_ADDR      0
-#define CONFIG_SYS_FSL_ESDHC_NUM       2
 
 #define CONFIG_DOS_PARTITION
 #define CONFIG_CMD_FAT
index ecbc2f0..361a81d 100644 (file)
 #define CONFIG_FSL_ESDHC
 #define CONFIG_FSL_USDHC
 #define CONFIG_SYS_FSL_ESDHC_ADDR      0
-#define CONFIG_SYS_FSL_ESDHC_NUM       2
 
 #define CONFIG_DOS_PARTITION
 #define CONFIG_CMD_FAT