2020-01-03 22:07:00

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH] soc: imx: Enable compile testing of IMX_SCU_SOC

IMX_SCU_SOC can be compile tested to increase build coverage.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
drivers/soc/imx/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig
index 8aaebf13e2e6..0281ef9a1800 100644
--- a/drivers/soc/imx/Kconfig
+++ b/drivers/soc/imx/Kconfig
@@ -10,7 +10,7 @@ config IMX_GPCV2_PM_DOMAINS

config IMX_SCU_SOC
bool "i.MX System Controller Unit SoC info support"
- depends on IMX_SCU
+ depends on IMX_SCU || COMPILE_TEST
select SOC_BUS
help
If you say yes here you get support for the NXP i.MX System
--
2.17.1


2020-01-09 09:22:45

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] soc: imx: Enable compile testing of IMX_SCU_SOC

On Fri, Jan 03, 2020 at 11:05:57PM +0100, Krzysztof Kozlowski wrote:
> IMX_SCU_SOC can be compile tested to increase build coverage.
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>

Applied, thanks.