]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: l2c: add decode for L2C-220 cache ways
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 15 Mar 2014 23:07:07 +0000 (23:07 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 14 Apr 2014 10:16:15 +0000 (11:16 +0100)
Rather than assuming these are always 8-way, it can be decoded from the
auxillary register in the same manner as L2C-210.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/cache-l2x0.c

index b4dd2f4b491b7d32385fbda3dd80a1ef536b4067..69a18316b23936af48f1beaaaa7ee95f75375c3e 100644 (file)
@@ -701,6 +701,7 @@ static void __init __l2c_init(const struct l2c_init_data *data,
                break;
 
        case L2X0_CACHE_ID_PART_L210:
+       case L2X0_CACHE_ID_PART_L220:
                ways = (aux >> 13) & 0xf;
                break;