aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/io_generic.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-05-10 15:39:05 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-05-10 15:39:05 +0900
commit19d8f84f86af867abee174be8bf1e4941a59143d (patch)
tree9f848faa504edbc2a7f9160e757eaa19e7460ea2 /arch/sh/include/asm/io_generic.h
parentsh: bump up extra LMB reservations in bootmem init. (diff)
downloadlinux-dev-19d8f84f86af867abee174be8bf1e4941a59143d.tar.xz
linux-dev-19d8f84f86af867abee174be8bf1e4941a59143d.zip
sh: enable LMB region setup via machvec.
This plugs in a memory init callback in the machvec to permit boards to wire up various bits of memory directly in to LMB. A generic machvec implementation is provided that simply wraps around the normal Kconfig-derived memory start/size. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/io_generic.h')
-rw-r--r--arch/sh/include/asm/io_generic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/io_generic.h b/arch/sh/include/asm/io_generic.h
index 1e5d375f55dc..491df93cbf8e 100644
--- a/arch/sh/include/asm/io_generic.h
+++ b/arch/sh/include/asm/io_generic.h
@@ -38,5 +38,6 @@ void IO_CONCAT(__IO_PREFIX,iounmap)(void *addr);
void __iomem *IO_CONCAT(__IO_PREFIX,ioport_map)(unsigned long addr, unsigned int size);
void IO_CONCAT(__IO_PREFIX,ioport_unmap)(void __iomem *addr);
+void IO_CONCAT(__IO_PREFIX,mem_init)(void);
#undef __IO_PREFIX