summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/tcm.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-07-01 09:23:06 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-07-06 21:49:45 +0200
commit9715efb8dc9ffa629bf5a1215b11bf2f2f29908b (patch)
tree7c05fe2aaf27d60174a33da037fea05e1303b9e6 /arch/arm/include/asm/tcm.h
parentARM: 6977/1: pmu: add platform_device_id table support (diff)
downloadlinux-9715efb8dc9ffa629bf5a1215b11bf2f2f29908b.tar.xz
linux-9715efb8dc9ffa629bf5a1215b11bf2f2f29908b.zip
ARM: 6984/1: enhance TCM robustness
The PB11MPCore reports "3" DTCM banks, but anything above 2 is an "undefined" value, so push this to become 0. Further add some checks if code is compiled to TCM even if there is no D/ITCM present in the system, and if we can really fit the compiled code. We don't do the BUG() since it's not helpful, it's better to deal with non-present TCM dynamically. If there is nothing compiled to the TCM and no TCM is detected, it will now just shut up even if TCM support is enabled. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/tcm.h')
0 files changed, 0 insertions, 0 deletions