diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2009-04-14 08:04:16 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-04-23 12:31:09 -0400 |
commit | f5c122da543ebf98a5ccb3166768e38eea3120dd (patch) | |
tree | 0275d0646aab07c8e3bf9ef5a22572bcf668f400 /arch/arm/mach-davinci/board-evm.c | |
parent | c5b736d093217890245a33e9a98fe92d6f3529bf (diff) |
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>
Diffstat (limited to 'arch/arm/mach-davinci/board-evm.c')
-rw-r--r-- | arch/arm/mach-davinci/board-evm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/board-evm.c b/arch/arm/mach-davinci/board-evm.c index 1b745c39d891..c2701d740a1d 100644 --- a/arch/arm/mach-davinci/board-evm.c +++ b/arch/arm/mach-davinci/board-evm.c | |||
@@ -36,6 +36,9 @@ | |||
36 | #include <mach/common.h> | 36 | #include <mach/common.h> |
37 | #include <mach/i2c.h> | 37 | #include <mach/i2c.h> |
38 | 38 | ||
39 | #define DAVINCI_CFC_ATA_BASE 0x01C66000 | ||
40 | #define DAVINCI_ASYNC_EMIF_DATA_CE0_BASE 0x02000000 | ||
41 | |||
39 | /* other misc. init functions */ | 42 | /* other misc. init functions */ |
40 | void __init davinci_psc_init(void); | 43 | void __init davinci_psc_init(void); |
41 | void __init davinci_irq_init(void); | 44 | void __init davinci_irq_init(void); |
@@ -422,7 +425,6 @@ static __init void davinci_evm_init(void) | |||
422 | 425 | ||
423 | static __init void davinci_evm_irq_init(void) | 426 | static __init void davinci_evm_irq_init(void) |
424 | { | 427 | { |
425 | davinci_init_common_hw(); | ||
426 | davinci_irq_init(); | 428 | davinci_irq_init(); |
427 | } | 429 | } |
428 | 430 | ||