summaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2013-03-08 16:27:49 +0100
committerJames Hogan <james.hogan@imgtec.com>2013-03-15 14:21:18 +0100
commit4d8edbfefb630559220939ad5a3bdd8a75190cc3 (patch)
tree1e66e9ee78da18e95c536cc2a772c8c4b67c6a01 /arch/microblaze
parentmetag: smp: copy cache partition and enable GCOn (diff)
downloadlinux-4d8edbfefb630559220939ad5a3bdd8a75190cc3.tar.xz
linux-4d8edbfefb630559220939ad5a3bdd8a75190cc3.zip
metag: cachepart: take into account small cache bits
The CORE_CONFIG2 register has bits to indicate that the data or code cache is small, i.e. that the size described in the field should be divided by 64. Take this into account in get_icache_size() and get_dcache_size(). Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'arch/microblaze')
0 files changed, 0 insertions, 0 deletions