diff options
author | James Hogan <james.hogan@imgtec.com> | 2013-03-08 16:27:49 +0100 |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2013-03-15 14:21:18 +0100 |
commit | 4d8edbfefb630559220939ad5a3bdd8a75190cc3 (patch) | |
tree | 1e66e9ee78da18e95c536cc2a772c8c4b67c6a01 /arch/microblaze | |
parent | metag: smp: copy cache partition and enable GCOn (diff) | |
download | linux-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