ARM: 6225/1: make TCM allocation static and common for all archs
authorLinus Walleij <linus.walleij@stericsson.com>
Mon, 12 Jul 2010 20:53:28 +0000 (21:53 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 27 Jul 2010 09:42:38 +0000 (10:42 +0100)
commit1dbd30e9890fd69e50b17edd70ca583546b0fe4e
tree5b5ab74c1792a81340478f7bbccd053e60a23a5e
parent07d2a5c721c6aa2bd69812a74c8b3b116abf3e56
ARM: 6225/1: make TCM allocation static and common for all archs

This changes the TCM handling so that a fixed area is reserved at
0xfffe0000-0xfffeffff for TCM. This areas is used by XScale but
XScale does not have TCM so the mechanisms are mutually exclusive.

This change is needed to make TCM detection more dynamic while
still being able to compile code into it, and is a must for the
unified ARM goals: the current TCM allocation at different places
in memory for each machine would be a nightmare if you want to
compile a single image for more than one machine with TCM so it
has to be nailed down in one place.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Documentation/arm/memory.txt
Documentation/arm/tcm.txt
arch/arm/include/asm/memory.h
arch/arm/kernel/tcm.c
arch/arm/mach-u300/include/mach/memory.h
arch/arm/mm/init.c