瀏覽代碼

[ARM] feroceon: remove CONFIG_CPU_CACHE_ROUND_ROBIN check

Since the Feroceon cache replacement policy is always pseudorandom
(and the relevant control register bit is ignored), remove the
CONFIG_CPU_CACHE_ROUND_ROBIN check from proc-feroceon.S.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Lennert Buytenhek 17 年之前
父節點
當前提交
c5a1e8f709
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      arch/arm/mm/proc-feroceon.S

+ 0 - 3
arch/arm/mm/proc-feroceon.S

@@ -358,9 +358,6 @@ __feroceon_setup:
 	mrc	p15, 0, r0, c1, c0		@ get control register v4
 	bic	r0, r0, r5
 	orr	r0, r0, r6
-#ifdef CONFIG_CPU_CACHE_ROUND_ROBIN
-	orr	r0, r0, #0x4000			@ .1.. .... .... ....
-#endif
 	mov	pc, lr
 	.size	__feroceon_setup, . - __feroceon_setup