浏览代码

[ARM] Add old Feroceon support to compressed/head.S

This patch supports the cache handling for some old Feroceon cores for
which the CPU ID is like 0x41159260.  This is a complement to
commit ab6d15d50637fc25ee941710b23fed09ceb28db3.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Joonyoung Shim 16 年之前
父节点
当前提交
5587931c30
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      arch/arm/boot/compressed/head.S

+ 9 - 0
arch/arm/boot/compressed/head.S

@@ -674,6 +674,15 @@ proc_types:
 		b	__armv4_mmu_cache_off
 		b	__armv4_mmu_cache_off
 		b	__armv5tej_mmu_cache_flush
 		b	__armv5tej_mmu_cache_flush
 
 
+#ifdef CONFIG_CPU_FEROCEON_OLD_ID
+		/* this conflicts with the standard ARMv5TE entry */
+		.long	0x41009260		@ Old Feroceon
+		.long	0xff00fff0
+		b	__armv4_mmu_cache_on
+		b	__armv4_mmu_cache_off
+		b	__armv5tej_mmu_cache_flush
+#endif
+
 		.word	0x66015261		@ FA526
 		.word	0x66015261		@ FA526
 		.word	0xff01fff1
 		.word	0xff01fff1
 		b	__fa526_cache_on
 		b	__fa526_cache_on