Patchwork [U-Boot,6/9] OMAP3: CM-T35: fix mmc

login
register
mail settings
Submitter Igor Grinberg
Date April 5, 2011, 7:08 a.m.
Message ID <1301987293-5095-7-git-send-email-grinberg@compulab.co.il>
Download mbox | patch
Permalink /patch/89801/
State Accepted
Commit 13009e3f28d6022972463a7a1b0862c94efc5f6a
Delegated to: Sandeep Paulraj
Headers show

Comments

Igor Grinberg - April 5, 2011, 7:08 a.m.
Use CONFIG_OMAP3_MMC in cm-t35 configuration file.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
---
 board/cm_t35/cm_t35.c    |    7 -------
 include/configs/cm_t35.h |    3 +--
 2 files changed, 1 insertions(+), 9 deletions(-)

Patch

diff --git a/board/cm_t35/cm_t35.c b/board/cm_t35/cm_t35.c
index 3b6f7ef..23efacc 100644
--- a/board/cm_t35/cm_t35.c
+++ b/board/cm_t35/cm_t35.c
@@ -272,13 +272,6 @@  void set_muxconf_regs(void)
 	MUX_VAL(CP(MMC1_DAT7),		(IEN  | PTU | EN  | M0)); /*MMC1_DAT7*/
 }
 
-#ifdef CONFIG_GENERIC_MMC
-int board_mmc_init(bd_t *bis)
-{
-	return omap_mmc_init(0);
-}
-#endif
-
 /*
  * Routine: setup_net_chip_gmpc
  * Description: Setting up the configuration GPMC registers specific to the
diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h
index 5624abd..3692810 100644
--- a/include/configs/cm_t35.h
+++ b/include/configs/cm_t35.h
@@ -110,9 +110,8 @@ 
 #define CONFIG_BAUDRATE			115200
 #define CONFIG_SYS_BAUDRATE_TABLE	{4800, 9600, 19200, 38400, 57600,\
 					115200}
-#define CONFIG_GENERIC_MMC		1
 #define CONFIG_MMC			1
-#define CONFIG_OMAP_HSMMC		1
+#define CONFIG_OMAP3_MMC		1
 #define CONFIG_DOS_PARTITION		1
 
 /* DDR - I use Micron DDR */