]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
firmware: imx: IMX_SCMI_MISC_DRV should depend on ARCH_MXC
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 5 Feb 2025 14:41:43 +0000 (15:41 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 14 Feb 2025 14:09:42 +0000 (15:09 +0100)
The i.MX System Controller Management Interface firmware is only present
on Freescale i.MX SoCs.  Hence add a dependency on ARCH_MXC, to prevent
asking the user about this driver when configuring a kernel without
Freescale i.MX platform support.

Fixes: 514b2262ade48a05 ("firmware: arm_scmi: Fix i.MX build dependency")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/firmware/imx/Kconfig

index 907cd149c40a8b5f1b14c53e1c315ff4a28f32ac..c964f4924359fcd375560ee8263021b0fe65db1b 100644 (file)
@@ -25,6 +25,7 @@ config IMX_SCU
 
 config IMX_SCMI_MISC_DRV
        tristate "IMX SCMI MISC Protocol driver"
+       depends on ARCH_MXC || COMPILE_TEST
        default y if ARCH_MXC
        help
          The System Controller Management Interface firmware (SCMI FW) is