Эх сурвалжийг харах

sh: select GENERIC_TIME for new CMT driver.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 16 жил өмнө
parent
commit
5be7c0a4d3
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      arch/sh/Kconfig

+ 2 - 1
arch/sh/Kconfig

@@ -476,10 +476,11 @@ config SH_TIMER_CMT
 	bool "CMT clockevents driver"
 	bool "CMT clockevents driver"
 	depends on SYS_SUPPORTS_CMT && !SH_CMT
 	depends on SYS_SUPPORTS_CMT && !SH_CMT
 	select GENERIC_CLOCKEVENTS
 	select GENERIC_CLOCKEVENTS
+	select GENERIC_TIME
 
 
 config SH_MTU2
 config SH_MTU2
 	bool "MTU2 timer support"
 	bool "MTU2 timer support"
-	depends on CPU_SH2A
+	depends on CPU_SH2A && !GENERIC_TIME
 	default y
 	default y
 	help
 	help
 	  This enables the use of the MTU2 as the system timer.
 	  This enables the use of the MTU2 as the system timer.