* [PATCH] amd64: mxc: select CONFIG_SOC_BUS
@ 2019-04-30 16:17 ` Guido Günther
0 siblings, 0 replies; 4+ messages in thread
From: Guido Günther @ 2019-04-30 16:17 UTC (permalink / raw)
To: Catalin Marinas, Will Deacon, linux-arm-kernel, linux-kernel
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] amd64: mxc: select CONFIG_SOC_BUS
@ 2019-04-30 16:17 ` Guido Günther
0 siblings, 0 replies; 4+ messages in thread
From: Guido Günther @ 2019-04-30 16:17 UTC (permalink / raw)
To: Catalin Marinas, Will Deacon, linux-arm-kernel, linux-kernel
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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] amd64: mxc: select CONFIG_SOC_BUS
2019-04-30 16:17 ` Guido Günther
@ 2019-04-30 16:26 ` Fabio Estevam
-1 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2019-04-30 16:26 UTC (permalink / raw)
To: Guido Günther
Cc: Catalin Marinas, Will Deacon,
moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
linux-kernel
Hi Guido,
On Tue, Apr 30, 2019 at 1:18 PM Guido Günther <agx@sigxcpu.org> wrote:
>
> 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.
A fix for this has been posted:
https://lkml.org/lkml/2019/4/24/256
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] amd64: mxc: select CONFIG_SOC_BUS
@ 2019-04-30 16:26 ` Fabio Estevam
0 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2019-04-30 16:26 UTC (permalink / raw)
To: Guido Günther
Cc: Catalin Marinas, Will Deacon, linux-kernel,
moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE
Hi Guido,
On Tue, Apr 30, 2019 at 1:18 PM Guido Günther <agx@sigxcpu.org> wrote:
>
> 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.
A fix for this has been posted:
https://lkml.org/lkml/2019/4/24/256
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-04-30 16:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-30 16:17 [PATCH] amd64: mxc: select CONFIG_SOC_BUS Guido Günther
2019-04-30 16:17 ` Guido Günther
2019-04-30 16:26 ` Fabio Estevam
2019-04-30 16:26 ` Fabio Estevam
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.