From: Felipe Balbi <felipe.balbi@nokia.com>
To: ext Tony Lindgren <tony@atomide.com>
Cc: "linux-arm-kernel@lists.arm.linux.org.uk"
<linux-arm-kernel@lists.arm.linux.org.uk>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
hiroshi.doyu@nokia.com
Subject: Re: [PATCH 1/3] OMAP: Remove OMAP_IO_ADDRESS, use OMAP1_IO_ADDRESS and OMAP2_IO_ADDRESS instead
Date: Thu, 6 Aug 2009 13:40:31 +0300 [thread overview]
Message-ID: <20090806104031.GC1968@nokia.com> (raw)
In-Reply-To: <20090806101019.2569.75005.stgit@localhost>
Hi,
On Thu, Aug 06, 2009 at 12:10:20PM +0200, ext Tony Lindgren wrote:
> Search and replace OMAP_IO_ADDRESS with OMAP1_IO_ADDRESS and OMAP2_IO_ADDRESS,
> and convert omap_read/write into a functions instead of a macros.
>
> Also rename OMAP_MPUIO_VBASE to OMAP1_MPUIO_VBASE.
>
> In the long run, most code should use ioremap + __raw_read/write instead.
>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
> ---
> arch/arm/mach-omap1/devices.c | 2 -
> arch/arm/mach-omap1/pm.h | 4 +
> arch/arm/mach-omap1/serial.c | 6 +-
> arch/arm/mach-omap1/sram.S | 12 ++-
> arch/arm/mach-omap1/time.c | 4 +
> arch/arm/mach-omap2/board-4430sdp.c | 4 +
> arch/arm/mach-omap2/cm.h | 6 +-
> arch/arm/mach-omap2/omap-smp.c | 2 -
> arch/arm/mach-omap2/pm-debug.c | 2 -
> arch/arm/mach-omap2/prm.h | 6 +-
> arch/arm/mach-omap2/sdrc.h | 6 +-
> arch/arm/mach-omap2/serial.c | 6 +-
> arch/arm/mach-omap2/sram242x.S | 4 +
> arch/arm/mach-omap2/sram243x.S | 4 +
> arch/arm/mach-omap2/timer-gp.c | 2 -
> arch/arm/plat-omap/dma.c | 8 +-
> arch/arm/plat-omap/dmtimer.c | 5 +
> arch/arm/plat-omap/gpio.c | 86 +++++++++++++------------
> arch/arm/plat-omap/include/mach/control.h | 12 ++-
> arch/arm/plat-omap/include/mach/entry-macro.S | 8 +-
> arch/arm/plat-omap/include/mach/io.h | 64 ++++++-------------
> arch/arm/plat-omap/include/mach/mtd-xip.h | 2 -
> arch/arm/plat-omap/include/mach/omap44xx.h | 8 +-
> arch/arm/plat-omap/include/mach/sdrc.h | 6 +-
> arch/arm/plat-omap/io.c | 58 +++++++++++++++++
> arch/arm/plat-omap/sram.c | 20 +++---
> drivers/video/omap/dispc.c | 6 +-
> 27 files changed, 196 insertions(+), 157 deletions(-)
>
> diff --git a/arch/arm/mach-omap1/devices.c b/arch/arm/mach-omap1/devices.c
> index bbbaeb0..0680843 100644
> --- a/arch/arm/mach-omap1/devices.c
> +++ b/arch/arm/mach-omap1/devices.c
> @@ -71,7 +71,7 @@ static inline void omap_init_rtc(void) {}
> # define INT_DSP_MAILBOX1 INT_1610_DSP_MAILBOX1
> #endif
>
> -#define OMAP1_MBOX_BASE IO_ADDRESS(OMAP16XX_MAILBOX_BASE)
> +#define OMAP1_MBOX_BASE OMAP1_IO_ADDRESS(OMAP16XX_MAILBOX_BASE)
any chance to ioremap() at least this one ?
--
balbi
next prev parent reply other threads:[~2009-08-06 10:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-06 10:08 [PATCH 0/3] Omap header cleanup for upcoming 2.6.32 merge window Tony Lindgren
2009-08-06 10:10 ` [PATCH 1/3] OMAP: Remove OMAP_IO_ADDRESS, use OMAP1_IO_ADDRESS and OMAP2_IO_ADDRESS instead Tony Lindgren
2009-08-06 10:40 ` Felipe Balbi [this message]
2009-08-06 10:50 ` Tony Lindgren
2009-08-06 10:11 ` [PATCH 2/3] OMAP: Rename OMAP_MPUIO_BASE to OMAP1_MPUIO_BASE Tony Lindgren
2009-08-06 10:13 ` [PATCH 3/3] OMAP: Remove ifdefs for io.h Tony Lindgren
2009-08-06 11:01 ` [PATCH 0/3] Omap header cleanup for upcoming 2.6.32 merge window Russell King - ARM Linux
2009-08-06 11:11 ` Tony Lindgren
2009-08-11 9:28 ` git pull request for omap " Tony Lindgren
2009-08-24 13:05 ` [PATCH 0/3] Omap " Tony Lindgren
-- strict thread matches above, loose matches on Subject: below --
2009-06-23 14:52 [PATCH 0/3] Omap header cleanup for merge window after 2.6.31 Tony Lindgren
2009-06-23 14:53 ` [PATCH 1/3] OMAP: Remove OMAP_IO_ADDRESS, use OMAP1_IO_ADDRESS and OMAP2_IO_ADDRESS instead 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=20090806104031.GC1968@nokia.com \
--to=felipe.balbi@nokia.com \
--cc=hiroshi.doyu@nokia.com \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-omap@vger.kernel.org \
--cc=tony@atomide.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