public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]Omap3630: Add hsmmc related checks
@ 2009-10-22 17:38 Madhusudhan Chikkature
  2009-10-22 17:44 ` Tony Lindgren
  0 siblings, 1 reply; 7+ messages in thread
From: Madhusudhan Chikkature @ 2009-10-22 17:38 UTC (permalink / raw)
  To: tony, linux-omap

>From 661b13474a7af62c54f7df7a33a818c5e782cc59 Mon Sep 17 00:00:00 2001
From: Madhu <madhu.cr@ti.com>
Date: Wed, 21 Oct 2009 16:16:31 -0400
Subject: [PATCH] Omap3630: Add HSMMC related checks.

Add omap3630 conditional checks to devices.c to allow HSMMC3 addition and
mux configuration for HSMMC1/2.

Signed-off-by: Madhusudhan Chikkature <madhu.cr@ti.com>
---
 arch/arm/mach-omap2/devices.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
index 7d4513b..1fdfc7f 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -575,7 +575,7 @@ static inline void omap2_mmc_mux(struct
omap_mmc_platform_data *mmc_controller,
 		}
 	}

-	if (cpu_is_omap3430()) {
+	if (cpu_is_omap3430() || cpu_is_omap3630()) {
 		if (controller_nr == 0) {
 			omap_cfg_reg(N28_3430_MMC1_CLK);
 			omap_cfg_reg(M27_3430_MMC1_CMD);
@@ -642,7 +642,8 @@ void __init omap2_init_mmc(struct omap_mmc_platform_data
**mmc_data,
 			irq = INT_24XX_MMC2_IRQ;
 			break;
 		case 2:
-			if (!cpu_is_omap44xx() && !cpu_is_omap34xx())
+			if (!cpu_is_omap44xx() && !cpu_is_omap34xx()
+				&& !cpu_is_omap3630())
 				return;
 			base = OMAP3_MMC3_BASE;
 			irq = INT_34XX_MMC3_IRQ;
-- 
1.6.0.4




^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-10-23 17:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-22 17:38 [PATCH]Omap3630: Add hsmmc related checks Madhusudhan Chikkature
2009-10-22 17:44 ` Tony Lindgren
2009-10-22 19:12   ` Madhusudhan
2009-10-22 19:36     ` Menon, Nishanth
2009-10-22 19:55       ` Madhusudhan
2009-10-23  0:08     ` Pandita, Vikram
2009-10-23 17:13       ` Madhusudhan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox