The MCHP_PIT64B_TIMER driver is not safe to compile on 64bit platforms
such as allyesconfig on a 64bit host. Tighten the dependencies here to
the platforms which use it today.

Signed-off-by: Tom Rini <[email protected]>
---
Cc: Durai Manickam KR <[email protected]>
Cc: Eugen Hristev <[email protected]>
Cc: Manikandan Muralidharan <[email protected]>
Cc: Ryan Wanner <[email protected]>
Cc: Mihai Sain <[email protected]>
---
 drivers/timer/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig
index 5cac1dcf2be9..f9511503b027 100644
--- a/drivers/timer/Kconfig
+++ b/drivers/timer/Kconfig
@@ -312,7 +312,7 @@ config MTK_TIMER
 
 config MCHP_PIT64B_TIMER
        bool "Microchip 64-bit periodic interval timer support"
-       depends on TIMER
+       depends on TIMER && ARCH_AT91
        help
          Select this to enable support for Microchip 64-bit periodic
          interval timer.
-- 
2.43.0

Reply via email to