lkml.org 
[lkml]   [2019]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] amd64: mxc: select CONFIG_SOC_BUS
Date
i.MX8 needs soc_device_register, otherwise the build fails like:

aarch64-linux-gnu-ld: drivers/soc/imx/soc-imx8.o: in function `imx8_soc_init':
soc-imx8.c:(.init.text+0x130): undefined reference to `soc_device_register'
aarch64-linux-gnu-ld: soc-imx8.c:(.init.text+0x130): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `soc_device_register'
make: *** [Makefile:1051: vmlinux] Error 1

Signed-off-by: Guido Günther <agx@sigxcpu.org>

---
This was seen on next-20190430.

arch/arm64/Kconfig.platforms | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 0f4d91824e4b..c86bccbb118a 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -162,6 +162,7 @@ config ARCH_MXC
select IMX_GPCV2_PM_DOMAINS
select PM
select PM_GENERIC_DOMAINS
+ select SOC_BUS
help
This enables support for the ARMv8 based SoCs in the
NXP i.MX family.
--
2.20.1
\
 
 \ /
  Last update: 2019-04-30 18:18    [W:0.029 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site