[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID:
<TYSPR04MB70840448562705C21BA8DCCF8A632@TYSPR04MB7084.apcprd04.prod.outlook.com>
Date: Thu, 19 Sep 2024 08:25:04 +0100
From: Enlin Mu <enlin.mu@...look.com>
To: daniel.lezcano@...aro.org,
tglx@...utronix.de,
orsonzhai@...il.com,
baolin.wang@...ux.alibaba.com,
zhang.lyra@...il.com,
linux-kernel@...r.kernel.org,
enlin.mu@...soc.com,
enlinmu@...il.com
Cc: linux-hardening@...r.kernel.org
Subject: [PATCH] clocksource/drivers/timer-sprd: Select driver on ARM and ARM64
From: Enlin Mu <enlin.mu@...soc.com>
sprd timer is currently available on ARM and ARM64 based devices.
Thus select it for ARM and ARM64
Signed-off-by: Enlin Mu <enlin.mu@...soc.com>
---
drivers/clocksource/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 95dd4660b5b6..296c5f664583 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -494,8 +494,8 @@ config MTK_CPUX_TIMER
config SPRD_TIMER
bool "Spreadtrum timer driver" if EXPERT
depends on HAS_IOMEM
- depends on (ARCH_SPRD || COMPILE_TEST)
- default ARCH_SPRD
+ depends on (ARM || ARM64 || COMPILE_TEST)
+ default y
select TIMER_OF
help
Enables support for the Spreadtrum timer driver.
--
2.39.2
Powered by blists - more mailing lists