diff options
author | Tony Lindgren <tony@atomide.com> | 2006-02-08 17:06:45 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-02-08 17:06:45 -0500 |
commit | 53d9cc7395c8dbe8d7fd6f9acd6578b236d14a0f (patch) | |
tree | 5ff13b4064bfee3b5149aa49c806d5db36e5e7f4 /include | |
parent | 083d06edfda28fdee41ac46dc57ad4949927acd9 (diff) |
[ARM] 3279/1: OMAP: 1/3 Fix low-level io init
Patch from Tony Lindgren
This patch adds the missing cache flushes to common low-level
init that are needed to access the IO region. These flushes
are normally done at the end of devicemaps_init(), but we
need to detect the OMAP core type early.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-omap/io.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-arm/arch-omap/io.h b/include/asm-arm/arch-omap/io.h index f5bcc9a1aed6..b726acfcab14 100644 --- a/include/asm-arm/arch-omap/io.h +++ b/include/asm-arm/arch-omap/io.h | |||
@@ -116,7 +116,11 @@ typedef struct { volatile u32 offset[4096]; } __regbase32; | |||
116 | ->offset[((vaddr)&4095)>>2] | 116 | ->offset[((vaddr)&4095)>>2] |
117 | #define __REG32(paddr) __REGV32(io_p2v(paddr)) | 117 | #define __REG32(paddr) __REGV32(io_p2v(paddr)) |
118 | 118 | ||
119 | extern void omap_map_common_io(void); | 119 | extern void omap1_map_common_io(void); |
120 | extern void omap1_init_common_hw(void); | ||
121 | |||
122 | extern void omap2_map_common_io(void); | ||
123 | extern void omap2_init_common_hw(void); | ||
120 | 124 | ||
121 | #else | 125 | #else |
122 | 126 | ||