Skip to contentSkip to conversation

soc: imx8: select SOC_BUS

PATCH In review Arnd Bergmann 2 participants 2 messages Apr 9, 2020 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 soc: imx8: select SOC_BUS

Compile-testing the driver can result in a link failure when CONFIG_SOC_BUS is disabled:

x86_64-linux-ld: drivers/soc/imx/soc-imx8m.o: in function `imx8_soc_init':
soc-imx8m.c:(.init.text+0x28d): undefined reference to `soc_device_register'

Select it from Kconfig, as we do from the other SoC drivers.

Fixes fc40200ebf82 ("soc: imx: increase build coverage for imx8m soc driver")
---
 drivers/soc/imx/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/soc/imx/Kconfig +1 -0
index 67aa94b2481b..d515d2cc20ed 100644
@@ -21,6 +21,7 @@ config SOC_IMX8M
 	bool "i.MX8M SoC family support"
 	depends on ARCH_MXC || COMPILE_TEST
 	default ARCH_MXC && ARM64
+	select SOC_BUS
 	help
 	  If you say yes here you get support for the NXP i.MX8M family
 	  support, it will provide the SoC info like SoC family,
Signature · 7 lines
2.26.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines

Subject: [PATCH] soc: imx8: select SOC_BUS

Compile-testing the driver can result in a link failure when CONFIG_SOC_BUS is disabled:

Quoted 7 lines

x86_64-linux-ld: drivers/soc/imx/soc-imx8m.o: in function `imx8_soc_init':
soc-imx8m.c:(.init.text+0x28d): undefined reference to `soc_device_register'

Select it from Kconfig, as we do from the other SoC drivers.

Fixes fc40200ebf82 ("soc: imx: increase build coverage for imx8m soc driver")

Thanks,
Peng.