From 359a62d489d1642e7696313b0d4f02dfd9db9b10 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Mon, 27 Jan 2014 12:19:08 +0100 Subject: [PATCH] karo: tx51,tx53,tx6: remove obsolete CONFIG_SYS_FSL_ESDHC_NUM definition --- board/karo/tx51/tx51.c | 3 --- board/karo/tx53/tx53.c | 3 --- board/karo/tx6/tx6qdl.c | 3 --- include/configs/tx51.h | 1 - include/configs/tx53.h | 1 - include/configs/tx6.h | 1 - 6 files changed, 12 deletions(-) diff --git a/board/karo/tx51/tx51.c b/board/karo/tx51/tx51.c index bf289badc5..9fc36f7424 100644 --- a/board/karo/tx51/tx51.c +++ b/board/karo/tx51/tx51.c @@ -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); diff --git a/board/karo/tx53/tx53.c b/board/karo/tx53/tx53.c index ccce6dc74f..363df2ed77 100644 --- a/board/karo/tx53/tx53.c +++ b/board/karo/tx53/tx53.c @@ -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); diff --git a/board/karo/tx6/tx6qdl.c b/board/karo/tx6/tx6qdl.c index 6f3cd10348..6324486d06 100644 --- a/board/karo/tx6/tx6qdl.c +++ b/board/karo/tx6/tx6qdl.c @@ -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); diff --git a/include/configs/tx51.h b/include/configs/tx51.h index 0eebd4edc3..dd35f849cd 100644 --- a/include/configs/tx51.h +++ b/include/configs/tx51.h @@ -247,7 +247,6 @@ #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 diff --git a/include/configs/tx53.h b/include/configs/tx53.h index e832b42acb..d110f305a9 100644 --- a/include/configs/tx53.h +++ b/include/configs/tx53.h @@ -253,7 +253,6 @@ #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 diff --git a/include/configs/tx6.h b/include/configs/tx6.h index ecbc2f0c6e..361a81dfda 100644 --- a/include/configs/tx6.h +++ b/include/configs/tx6.h @@ -306,7 +306,6 @@ #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 -- 2.39.2