]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7199/2: only look for TCM on ARMv5 and later
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 12 Dec 2011 08:24:40 +0000 (09:24 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 13 Dec 2011 08:52:02 +0000 (08:52 +0000)
commit00fb78000e3621cd05089502f2d3d5642b510588
tree1c40e0e0ffc12985f30e4631b377eb5bd8061dd7
parent61981a412bf48b55326f53e3705da893fb3ab273
ARM: 7199/2: only look for TCM on ARMv5 and later

The Integrator AP/CP can have a varying set of core modules, some
(like ARM920T) are so old that trying to read the TCM status register
with CP15 will make them hang. So we need to make sure that we are
running on v5 or later in order to be able to activate this for
the Integrator. (The Integrator with CM926EJ-S has 32+32 kb of TCM
memory.)

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/tcm.c