summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-omap/io.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2006-02-08 23:06:45 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-02-08 23:06:45 +0100
commit53d9cc7395c8dbe8d7fd6f9acd6578b236d14a0f (patch)
tree5ff13b4064bfee3b5149aa49c806d5db36e5e7f4 /include/asm-arm/arch-omap/io.h
parent[ARM] 3299/1: S3C24XX - fix irq range on adc device (diff)
downloadlinux-53d9cc7395c8dbe8d7fd6f9acd6578b236d14a0f.tar.xz
linux-53d9cc7395c8dbe8d7fd6f9acd6578b236d14a0f.zip
[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/asm-arm/arch-omap/io.h')
-rw-r--r--include/asm-arm/arch-omap/io.h6
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;
->offset[((vaddr)&4095)>>2]
#define __REG32(paddr) __REGV32(io_p2v(paddr))
-extern void omap_map_common_io(void);
+extern void omap1_map_common_io(void);
+extern void omap1_init_common_hw(void);
+
+extern void omap2_map_common_io(void);
+extern void omap2_init_common_hw(void);
#else