sh: Add fixed ioremap support
authorMatt Fleming <matt@console-pimps.org>
Thu, 5 Nov 2009 07:54:17 +0000 (07:54 +0000)
committerMatt Fleming <matt@console-pimps.org>
Sat, 16 Jan 2010 14:31:36 +0000 (14:31 +0000)
commit4d35b93a66e9b87df20784fcf130d2e8760be53f
treeaf0b82ab28a0e4142130c6510cc06cca3d4a67aa
parent07cad4dc1bfdaefd20c6329e9d8179ad1c600e92
sh: Add fixed ioremap support

Some devices need to be ioremap'd and accessed very early in the boot
process. It is not possible to use the standard ioremap() function in
this case because that requires kmalloc()'ing some virtual address space
and kmalloc() may not be available so early in boot.

This patch provides fixmap mappings that allow physical address ranges
to be remapped into the kernel address space during the early boot
stages.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
arch/sh/include/asm/fixmap.h
arch/sh/include/asm/io.h
arch/sh/kernel/setup.c
arch/sh/mm/Kconfig
arch/sh/mm/Makefile
arch/sh/mm/ioremap_fixed.c [new file with mode: 0644]