android_kernel_motorola_sm6225/arch/sh
Matt Fleming 3d467676ab sh: Setup early PMB mappings.
More and more boards are going to start shipping that boot with the MMU
in 32BIT mode by default. Previously we relied on the bootloader to
setup PMB mappings for use by the kernel but we also need to cater for
boards whose bootloaders don't set them up.

If CONFIG_PMB_LEGACY is not enabled we have full control over our PMB
mappings and can compress our address space. Usually, the distance
between the the cached and uncached mappings of RAM is always 512MB,
however we can compress the distance to be the amount of RAM on the
board.

pmb_init() now becomes much simpler. It no longer has to calculate any
mappings, it just has to synchronise the software PMB table with the
hardware.

Tested on SDK7786 and SH7785LCR.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-01-18 19:33:10 +09:00
..
boards sh: Generalize SH7786 PCIe support. 2010-01-15 19:13:56 +09:00
boot sh: fixed PMB mode refactoring. 2010-01-13 18:31:48 +09:00
cchips sh: mach-hp6xx: Fix up the hp6xx build for hd64461 changes. 2009-05-20 11:27:13 +09:00
configs sh: Preliminary SDK7786 board support. 2010-01-14 20:58:58 +09:00
drivers sh: Generalize SH7786 PCIe support. 2010-01-15 19:13:56 +09:00
include sh: Fix CONFIG_PMB=n build. 2010-01-15 08:00:45 +09:00
kernel sh: Setup early PMB mappings. 2010-01-18 19:33:10 +09:00
lib sh: Optimised memset for SH4 2009-11-24 16:28:43 +09:00
lib64 sh64: Kill off special clear_page() implementation. 2009-08-04 17:17:00 +09:00
math-emu sh: Move over to dynamically allocated FPU context. 2010-01-13 12:51:40 +09:00
mm sh: Setup early PMB mappings. 2010-01-18 19:33:10 +09:00
oprofile sh: oprofile: Fix up count size mismatch for common impl. 2009-11-05 17:13:15 +09:00
tools sh: Preliminary SDK7786 board support. 2010-01-14 20:58:58 +09:00
Kconfig sh: Add support for LZO-compressed kernels. 2010-01-13 13:29:19 +09:00
Kconfig.cpu sh: Tidy up SH-4A boot_cpu_data.flags probing. 2009-06-01 19:50:08 +09:00
Kconfig.debug sh: Remove old early serial console code V2 2009-12-15 12:07:35 +09:00
Makefile sh: Preliminary SDK7786 board support. 2010-01-14 20:58:58 +09:00