davinci: add arch_ioremap() which uses existing static mappings
authorKevin Hilman <khilman@deeprootsystems.com>
Tue, 14 Apr 2009 12:04:16 +0000 (07:04 -0500)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 23 Apr 2009 16:31:09 +0000 (09:31 -0700)
commitf5c122da543ebf98a5ccb3166768e38eea3120dd
tree0275d0646aab07c8e3bf9ef5a22572bcf668f400
parentc5b736d093217890245a33e9a98fe92d6f3529bf
davinci: add arch_ioremap() which uses existing static mappings

Add arch-specific ioremap() which uses any existing static mappings in
place of doing a new mapping.  From now on, drivers should always use
ioremap() instead of IO_ADDRESS().

In addition, remove the davinci_[read|write]* macros in favor of using
ioremap.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
12 files changed:
arch/arm/mach-davinci/board-evm.c
arch/arm/mach-davinci/devices.c
arch/arm/mach-davinci/id.c
arch/arm/mach-davinci/include/mach/gpio.h
arch/arm/mach-davinci/include/mach/hardware.h
arch/arm/mach-davinci/include/mach/io.h
arch/arm/mach-davinci/io.c
arch/arm/mach-davinci/irq.c
arch/arm/mach-davinci/mux.c
arch/arm/mach-davinci/psc.c
arch/arm/mach-davinci/time.c
arch/arm/mach-davinci/usb.c