firmware: imx: add COMPILE_TEST for IMX_SCU driver
authorAnson Huang <Anson.Huang@nxp.com>
Sat, 7 Mar 2020 01:25:54 +0000 (09:25 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 16 Mar 2020 03:41:58 +0000 (11:41 +0800)
Add COMPILE_TEST support to IMX_SCU driver for better compile
testing coverage.  Any driver depending on IMX_SCU shouldn't have
COMPILE_TEST though.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/firmware/imx/Kconfig

index 1d2e5b85d7ca8458f3d67bac38b964f4f9100ef6..58e8c6c115a0e69ff840605044c0ef5617fe09e7 100644 (file)
@@ -12,7 +12,7 @@ config IMX_DSP
 
 config IMX_SCU
        bool "IMX SCU Protocol driver"
-       depends on IMX_MBOX
+       depends on IMX_MBOX || COMPILE_TEST
        help
          The System Controller Firmware (SCFW) is a low-level system function
          which runs on a dedicated Cortex-M core to provide power, clock, and