public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OMAP3: mailbox initialization for all omap versions
@ 2010-03-26 19:30 Guzman Lugo, Fernando
  2010-03-29  6:40 ` Hiroshi DOYU
  0 siblings, 1 reply; 11+ messages in thread
From: Guzman Lugo, Fernando @ 2010-03-26 19:30 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org
  Cc: Hiroshi DOYU, ameya.palande@nokia.com, felipe.contreras@nokia.com

>From 47783fc3e030d4e49d20ba412661cc1f38d8aec0 Mon Sep 17 00:00:00 2001
From: Fernando Guzman Lugo <x0095840@ti.com>
Date: Fri, 26 Mar 2010 13:06:32 -0600
Subject: [PATCH] OMAP3: mailbox initialization for all omap versions

This removes the check for omap2420, omap3430, omap44xx
and initialize mailbox for all versions

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
---
 arch/arm/mach-omap2/devices.c |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
index 18ad931..d6f01be 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -196,13 +196,8 @@ static struct platform_device mbox_device = {
 
 static inline void omap_init_mbox(void)
 {
-	if (cpu_is_omap2420() || cpu_is_omap3430() || cpu_is_omap44xx()) {
-		mbox_device.num_resources = ARRAY_SIZE(omap_mbox_resources);
-		mbox_device.resource = omap_mbox_resources;
-	} else {
-		pr_err("%s: platform not supported\n", __func__);
-		return;
-	}
+	mbox_device.num_resources = ARRAY_SIZE(omap_mbox_resources);
+	mbox_device.resource = omap_mbox_resources;
 	platform_device_register(&mbox_device);
 }
 #else
-- 
1.6.0.4


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

end of thread, other threads:[~2010-04-01 13:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-26 19:30 [PATCH] OMAP3: mailbox initialization for all omap versions Guzman Lugo, Fernando
2010-03-29  6:40 ` Hiroshi DOYU
2010-03-29  7:01   ` Felipe Balbi
2010-03-29  9:08     ` Hiroshi DOYU
2010-04-01  9:52       ` Tony Lindgren
2010-04-01 10:23         ` Hiroshi DOYU
2010-04-01 11:26           ` Hiroshi DOYU
2010-04-01 11:36             ` Felipe Balbi
2010-04-01 12:33             ` Paul Walmsley
2010-04-01 12:50               ` Tony Lindgren
2010-04-01 13:06               ` Hiroshi DOYU

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