metag: cachepart: take into account small cache bits
authorJames Hogan <james.hogan@imgtec.com>
Fri, 8 Mar 2013 15:27:49 +0000 (15:27 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Fri, 15 Mar 2013 13:21:18 +0000 (13:21 +0000)
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>

No differences found