public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: "Komal Shah" <komal_shah802003@yahoo.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] ARM: OMAP: Fix OMAP2 build
Date: Mon, 25 Sep 2006 15:33:17 +0530	[thread overview]
Message-ID: <1159178597.7339.271740632@webmail.messagingengine.com> (raw)

[-- 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 --]



             reply	other threads:[~2006-09-25 10:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-25 10:03 Komal Shah [this message]
2006-09-28 14:08 ` [PATCH] ARM: OMAP: Fix OMAP2 build Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1159178597.7339.271740632@webmail.messagingengine.com \
    --to=komal_shah802003@yahoo.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox