ARM: 6222/1: add memory types for the TCMs
authorLinus Walleij <linus.walleij@stericsson.com>
Mon, 12 Jul 2010 20:50:59 +0000 (21:50 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 18 Jul 2010 19:29:47 +0000 (20:29 +0100)
commitcb9d7707cd9be57830f31616233f6a872ca8416d
tree6b380a5fc3c0f8efcc97455ee85a08da1d6ce4f9
parentf159f4ed55bb0fa5470800641e03a13a7e0eae6e
ARM: 6222/1: add memory types for the TCMs

The earlier TCM memory regions were mapped as MT_MEMORY_UNCACHED
which doesn't really work on platforms supporting the new v6
features like the NX bit. Add unique MT_MEMORY_[I|D]TCM types
instead.

Cc: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/mach/map.h
arch/arm/kernel/tcm.c
arch/arm/mm/mmu.c