From: Dirk Behme <dirk.behme@googlemail.com>
To: OMAP <Linux-omap-open-source@linux.omap.com>
Subject: [PATCH] ARM: OMAP: Set default OMAP2_CTRL_BASE for OMAP1
Date: Tue, 18 Sep 2007 19:32:36 +0200 [thread overview]
Message-ID: <46F00BB4.40403@googlemail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 144 bytes --]
In case no OMAP2_CTRL_BASE is set, set default one to fix compilation
errors e.g. for OMAP1.
Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
[-- Attachment #2: omap2_ctrl_base_fix_for_omap1.txt --]
[-- Type: text/plain, Size: 544 bytes --]
Index: linux-osk/include/asm-arm/arch-omap/omap24xx.h
===================================================================
--- linux-osk.orig/include/asm-arm/arch-omap/omap24xx.h
+++ linux-osk/include/asm-arm/arch-omap/omap24xx.h
@@ -103,6 +103,11 @@
#endif
+#if !defined(OMAP2_CTRL_BASE)
+/* If no one of the above configs is selected, use default */
+#define OMAP2_CTRL_BASE L4_24XX_BASE
+#endif
+
/* Control module */
#define OMAP2_CONTROL_DEVCONF0 (OMAP2_CTRL_BASE + 0x274)
#define OMAP2_CONTROL_DEVCONF1 (OMAP2_CTRL_BASE + 0x2e8)
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
next reply other threads:[~2007-09-18 17:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-18 17:32 Dirk Behme [this message]
2007-10-01 18:05 ` [PATCH] ARM: OMAP: Set default OMAP2_CTRL_BASE for OMAP1 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=46F00BB4.40403@googlemail.com \
--to=dirk.behme@googlemail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.