]> www.infradead.org Git - users/willy/pagecache.git/commitdiff
platform: cznic: CZNIC_PLATFORMS should depend on ARCH_MVEBU
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 14 Feb 2025 08:31:29 +0000 (09:31 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 14 Feb 2025 14:09:51 +0000 (15:09 +0100)
CZ.NIC's Turris devices are based on Marvell EBU SoCs.  Hence add a
dependency on ARCH_MVEBU, to prevent asking the user about these drivers
when configuring a kernel that cannot run on an affected CZ.NIC Turris
system.

Fixes: 992f1a3d4e88498d ("platform: cznic: Add preliminary support for Turris Omnia MCU")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/platform/cznic/Kconfig

index 49c383eb67854173babef2ada3d60a2f562cd4bd..13e37b49d9d01ec363fcb2e70a90fab41942b690 100644 (file)
@@ -6,6 +6,7 @@
 
 menuconfig CZNIC_PLATFORMS
        bool "Platform support for CZ.NIC's Turris hardware"
+       depends on ARCH_MVEBU || COMPILE_TEST
        help
          Say Y here to be able to choose driver support for CZ.NIC's Turris
          devices. This option alone does not add any kernel code.