ARM: 6445/1: fixup TCM memory types
authorLinus Walleij <linus.walleij@stericsson.com>
Mon, 18 Oct 2010 08:03:03 +0000 (09:03 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 27 Oct 2010 20:40:27 +0000 (21:40 +0100)
commitf444fce3c0aa199facc8c2be7635a4a82b84b71e
tree9969210dfdb2684828e351ff484b725776ef6c5f
parent12ba8d1e9262ce81a695795410bd9ee5c9407ba1
ARM: 6445/1: fixup TCM memory types

After Santosh's fixup of the generic MT_MEMORY and
MT_MEMORY_NONCACHED I add this fix to the TCM memory types.
The main change is that the ITCM memory is L_PTE_WRITE and
DOMAIN_KERNEL which works just fine. The changed to the DTCM
is just cosmetic to fit with surrounding code.

Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Rickard Andersson <rickard.andersson@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/mmu.c