]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
timer: Tighten dependencies on MCHP_PIT64B_TIMER
authorTom Rini <trini@konsulko.com>
Wed, 1 Oct 2025 20:30:37 +0000 (14:30 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 10 Oct 2025 16:26:58 +0000 (10:26 -0600)
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.

Acked-by: Eugen Hristev <eugen.hristev@linaro.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/timer/Kconfig

index 5cac1dcf2be93ab2baeb57620c4b87a67aadae77..f9511503b02719420c86959204d5fb998a70944c 100644 (file)
@@ -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.