public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Fix OMAP2 build
@ 2006-09-25 10:03 Komal Shah
  2006-09-28 14:08 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Komal Shah @ 2006-09-25 10:03 UTC (permalink / raw)
  To: linux-omap-open-source

[-- Attachment #1: Type: text/plain, Size: 1187 bytes --]

Doyu-San/Tony,

This patch fixes OMAP2 build, as Mailbox base is not defined.

Error message:
arch/arm/mach-omap2/devices.c:75: error: `OMAP24XX_MAILBOX_BASE' undeclared here (not in a function)
arch/arm/mach-omap2/devices.c:75: error: initializer element is not constant
arch/arm/mach-omap2/devices.c:75: error: (near initialization for `mbox_resources[0].start')
arch/arm/mach-omap2/devices.c:76: error: initializer element is not constant
arch/arm/mach-omap2/devices.c:76: error: (near initialization for `mbox_resources[0].end')
arch/arm/mach-omap2/devices.c:78: error: initializer element is not constant
arch/arm/mach-omap2/devices.c:78: error: (near initialization for `mbox_resources[0]')
arch/arm/mach-omap2/devices.c:82: error: initializer element is not constant
arch/arm/mach-omap2/devices.c:82: error: (near initialization for `mbox_resources[1]')
arch/arm/mach-omap2/devices.c:86: error: initializer element is not constant
arch/arm/mach-omap2/devices.c:86: error: (near initialization for `mbox_resources[2]')
make[1]: *** [arch/arm/mach-omap2/devices.o] Error 1

---Komal Shah
http://komalshah.blogspot.com

-- 
http://www.fastmail.fm - A fast, anti-spam email service.


[-- Attachment #2: 0001-ARM-OMAP-Fix-OMAP2-build-when-CONFIG_DSP-is-enabled.patch --]
[-- Type: application/octet-stream, Size: 893 bytes --]

From nobody Mon Sep 17 00:00:00 2001
From: Komal Shah <komal_shah802003@yahoo.com>
Date: Mon, 25 Sep 2006 21:00:48 +0530
Subject: [PATCH] ARM: OMAP: Fix OMAP2 build when CONFIG_DSP is enabled

Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>

---

 include/asm-arm/arch-omap/omap24xx.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

867c52d9f886255485a73eb33d2d875160d69861
diff --git a/include/asm-arm/arch-omap/omap24xx.h b/include/asm-arm/arch-omap/omap24xx.h
index b700633..a17fa63 100644
--- a/include/asm-arm/arch-omap/omap24xx.h
+++ b/include/asm-arm/arch-omap/omap24xx.h
@@ -28,5 +28,7 @@ #define OMAP24XX_DSP_MEM_BASE	(OMAP24XX_
 #define OMAP24XX_DSP_IPI_BASE	(OMAP24XX_DSP_BASE + 0x1000000)
 #define OMAP24XX_DSP_MMU_BASE	(OMAP24XX_DSP_BASE + 0x2000000)
 
+#define OMAP24XX_MAILBOX_BASE	(L4_24XX_BASE + 0x94000)
+
 #endif /* __ASM_ARCH_OMAP24XX_H */
 
-- 
1.3.3


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



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

* Re: [PATCH] ARM: OMAP: Fix OMAP2 build
  2006-09-25 10:03 [PATCH] ARM: OMAP: Fix OMAP2 build Komal Shah
@ 2006-09-28 14:08 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2006-09-28 14:08 UTC (permalink / raw)
  To: Komal Shah; +Cc: linux-omap-open-source

* Komal Shah <komal_shah802003@yahoo.com> [060925 13:09]:
> Doyu-San/Tony,
> 
> This patch fixes OMAP2 build, as Mailbox base is not defined.
> 
> Error message:
> arch/arm/mach-omap2/devices.c:75: error: `OMAP24XX_MAILBOX_BASE' undeclared here (not in a function)
> arch/arm/mach-omap2/devices.c:75: error: initializer element is not constant
> arch/arm/mach-omap2/devices.c:75: error: (near initialization for `mbox_resources[0].start')
> arch/arm/mach-omap2/devices.c:76: error: initializer element is not constant
> arch/arm/mach-omap2/devices.c:76: error: (near initialization for `mbox_resources[0].end')
> arch/arm/mach-omap2/devices.c:78: error: initializer element is not constant
> arch/arm/mach-omap2/devices.c:78: error: (near initialization for `mbox_resources[0]')
> arch/arm/mach-omap2/devices.c:82: error: initializer element is not constant
> arch/arm/mach-omap2/devices.c:82: error: (near initialization for `mbox_resources[1]')
> arch/arm/mach-omap2/devices.c:86: error: initializer element is not constant
> arch/arm/mach-omap2/devices.c:86: error: (near initialization for `mbox_resources[2]')
> make[1]: *** [arch/arm/mach-omap2/devices.o] Error 1
> 

This should be already fixed with 70eb98a161b49479e74fcb9042a82875b73ba68f.

Tony

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

end of thread, other threads:[~2006-09-28 14:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-25 10:03 [PATCH] ARM: OMAP: Fix OMAP2 build Komal Shah
2006-09-28 14:08 ` Tony Lindgren

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