瀏覽代碼

ARM: l2c: add decode for L2C-220 cache ways

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>
Russell King 11 年之前
父節點
當前提交
5f47c38704
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/arm/mm/cache-l2x0.c

+ 1 - 0
arch/arm/mm/cache-l2x0.c

@@ -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;