Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd071b66 authored by Magnus Damm's avatar Magnus Damm Committed by Simon Horman
Browse files

ARM: shmobile: Allow ARCH_SHMOBILE_MULTI timer configuration



Move the timer configuration bits to allow use in
case of ARCH_SHMOBILE or ARCH_SHMOBILE_MULTI.

The timers all make use of the regular driver model
so they are safe to enable for ARCH_MULTIPLATFORM.

Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent cbc60e7c
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
@@ -32,6 +32,8 @@ config MACH_KZM9D_REFERENCE
	   of not supporting a number of devices.

	   This is intended to aid developers

comment "SH-Mobile System Configuration"
endif

if ARCH_SHMOBILE
@@ -234,6 +236,15 @@ config CPU_HAS_INTEVT
        bool
	default y

config SH_CLK_CPG
	bool

source "drivers/sh/Kconfig"

endif

if ARCH_SHMOBILE || ARCH_SHMOBILE_MULTI

menu "Timer and clock configuration"

config SHMOBILE_TIMER_HZ
@@ -268,9 +279,4 @@ config EM_TIMER_STI

endmenu

config SH_CLK_CPG
	bool

source "drivers/sh/Kconfig"

endif