[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <077bd67861fe0ee246ba967a3406079373122439.1739271346.git.geert+renesas@glider.be>
Date: Tue, 11 Feb 2025 11:56:48 +0100
From: Geert Uytterhoeven <geert+renesas@...der.be>
To: Marek BehĂșn <kabel@...nel.org>,
Arnd Bergmann <arnd@...db.de>,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>,
Andy Shevchenko <andy@...nel.org>
Cc: linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert+renesas@...der.be>
Subject: [PATCH v2] platform: cznic: CZNIC_PLATFORMS should depend on MACH_ARMADA_38X || ARCH_MVEBU
CZ.NIC's Turris devices are based on Marvell Armada 385 or 3720 SoCs.
Hence add dependencies on MACH_ARMADA_38X and 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@...der.be>
---
v2:
- Drop PPC_P2020 from the dependency list.
---
drivers/platform/cznic/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/platform/cznic/Kconfig b/drivers/platform/cznic/Kconfig
index 49c383eb67854173..4134325cfcc2b916 100644
--- a/drivers/platform/cznic/Kconfig
+++ b/drivers/platform/cznic/Kconfig
@@ -6,6 +6,7 @@
menuconfig CZNIC_PLATFORMS
bool "Platform support for CZ.NIC's Turris hardware"
+ depends on MACH_ARMADA_38X || 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.
--
2.43.0
Powered by blists - more mailing lists