浏览代码

sh: Restrict old CMT timer code to SH-2/SH-2A.

None of the other platforms use this, and need individual porting.
Restrict it back to the supported set of CPU subtypes.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 17 年之前
父节点
当前提交
508eb2ce22
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/sh/Kconfig

+ 1 - 1
arch/sh/Kconfig

@@ -419,7 +419,7 @@ config SH_TMU
 
 
 config SH_CMT
 config SH_CMT
 	bool "CMT timer support"
 	bool "CMT timer support"
-	depends on SYS_SUPPORTS_CMT
+	depends on SYS_SUPPORTS_CMT && CPU_SH2
 	default y
 	default y
 	help
 	help
 	  This enables the use of the CMT as the system timer.
 	  This enables the use of the CMT as the system timer.