public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OMAP3:devices.c: Enabling 4-bit for SD card
@ 2008-06-16 13:02 Purushotam Kumar
  2008-06-23 12:47 ` Tony Lindgren
  0 siblings, 1 reply; 6+ messages in thread
From: Purushotam Kumar @ 2008-06-16 13:02 UTC (permalink / raw)
  To: linux-omap; +Cc: anantgole

OMAP3:devices.c:Enabling 4-bit for SD card

SD card was working in 1-bit mode.This patch will configure SD card in 
4-bit mode and hence performance  will increase.

Signed-off-by: Purushotam Kumar <purushotam@ti.com>
Acked-by: Madhusudhan Chikkature Rajashekar <madhu.cr@ti.com>
---
 arch/arm/plat-omap/devices.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Index: linux-omap-2.6/arch/arm/plat-omap/devices.c
===================================================================
--- linux-omap-2.6.orig/arch/arm/plat-omap/devices.c
+++ linux-omap-2.6/arch/arm/plat-omap/devices.c
@@ -292,8 +292,10 @@ static void __init omap_init_mmc(void)
 	mmc = &mmc_conf->mmc[0];
 
 	if (cpu_is_omap2430() || cpu_is_omap34xx()) {
-		if (mmc->enabled)
+		if (mmc->enabled) {
+			mmc1_data.conf = *mmc;
 			(void) platform_device_register(&mmc_omap_device1);
+		}
 
 #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP34XX)
 		mmc = &mmc_conf->mmc[1];

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

end of thread, other threads:[~2008-08-11  5:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-16 13:02 [PATCH] OMAP3:devices.c: Enabling 4-bit for SD card Purushotam Kumar
2008-06-23 12:47 ` Tony Lindgren
2008-06-25 10:04   ` Kumar, Purushotam
2008-07-14 11:56     ` Kumar, Purushotam
2008-08-05  7:10       ` David Brownell
2008-08-11  5:14         ` Madhusudhan Chikkature

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