diff mbox series

firmware: imx: Make IMX SCMI MISC driver only selectable on i.MX

Message ID 20250204101531.233549-2-u.kleine-koenig@baylibre.com (mailing list archive)
State New
Headers show
Series firmware: imx: Make IMX SCMI MISC driver only selectable on i.MX | expand

Commit Message

Uwe Kleine-König Feb. 4, 2025, 10:15 a.m. UTC
This hardware component is only available on i.MX9. So don't offer to
enable this driver without i.MX support or compile coverage testing.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
---
 drivers/firmware/imx/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/firmware/imx/Kconfig b/drivers/firmware/imx/Kconfig
index 907cd149c40a..dc685b94285a 100644
--- a/drivers/firmware/imx/Kconfig
+++ b/drivers/firmware/imx/Kconfig
@@ -26,6 +26,7 @@  config IMX_SCU
 config IMX_SCMI_MISC_DRV
 	tristate "IMX SCMI MISC Protocol driver"
 	default y if ARCH_MXC
+	depends on ARCH_MXC || COMPILE_TEST
 	help
 	  The System Controller Management Interface firmware (SCMI FW) is
 	  a low-level system function which runs on a dedicated Cortex-M