* [PATCH v2] mach-imx: bootaux: fix building with disabled bootelf
@ 2023-08-31 14:03 Oleksandr Suvorov
0 siblings, 0 replies; 2+ messages in thread
From: Oleksandr Suvorov @ 2023-08-31 14:03 UTC (permalink / raw)
To: u-boot
Cc: Oleksandr Suvorov, Fabio Estevam, Igor Opaniuk,
NXP i.MX U-Boot Team, Oleksandr Suvorov, Stefan Agner,
Stefano Babic
If CMD_ELF disabled and IMX_BOOTAUX enabled, the u-boot building ends
up with a linking error [1]. Select LIB_ELF to fix the building
issue.
[1]
ld: /tmp/ccaF1rpv.ltrans0.ltrans.o: in function `do_bootaux':
arch/arm/mach-imx/imx_bootaux.c:108: undefined reference to `valid_elf_image'
Fixes: c0f037f6a2a ("mach-imx: bootaux: elf firmware support")
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
---
Changes in v2:
- select LIB_ELF unconditionally
arch/arm/mach-imx/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index d94b5828d0d..fda762426ef 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -32,6 +32,7 @@ config IMX_RDC
config IMX_BOOTAUX
bool "Support boot auxiliary core"
depends on ARCH_MX7 || ARCH_MX6 || ARCH_VF610 || ARCH_IMX8 || ARCH_IMX8M
+ select LIB_ELF
help
bootaux [addr] to boot auxiliary core.
--
2.41.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH v2] mach-imx: bootaux: fix building with disabled bootelf
@ 2023-09-23 18:52 sbabic
0 siblings, 0 replies; 2+ messages in thread
From: sbabic @ 2023-09-23 18:52 UTC (permalink / raw)
To: Oleksandr Suvorov, u-boot
> If CMD_ELF disabled and IMX_BOOTAUX enabled, the u-boot building ends
> up with a linking error [1]. Select LIB_ELF to fix the building
> issue.
> [1]
> ld: /tmp/ccaF1rpv.ltrans0.ltrans.o: in function `do_bootaux':
> arch/arm/mach-imx/imx_bootaux.c:108: undefined reference to `valid_elf_image'
> Fixes: c0f037f6a2a ("mach-imx: bootaux: elf firmware support")
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-23 18:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-23 18:52 [PATCH v2] mach-imx: bootaux: fix building with disabled bootelf sbabic
-- strict thread matches above, loose matches on Subject: below --
2023-08-31 14:03 Oleksandr Suvorov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox