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)
commit90b9222ec632bc8b262981768c7b16f7e67dfe58
tree1c40e0e0ffc12985f30e4631b377eb5bd8061dd7
parent958cab0fbe13dc89b6f779d495fed283c0e7de5a
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
This page took 0.040684 seconds and 5 git commands to generate.