]> git.dujemihanovic.xyz Git - u-boot.git/commit
mach-imx: bootaux: fix building with disabled bootelf
authorOleksandr Suvorov <oleksandr.suvorov@foundries.io>
Thu, 31 Aug 2023 14:03:52 +0000 (17:03 +0300)
committerStefano Babic <sbabic@denx.de>
Sat, 23 Sep 2023 16:45:33 +0000 (18:45 +0200)
commit71dfe179cd3840f56bc812131b4031b0976efbc1
tree78904c98df0273c218ca39d9c4cf9fd4532fbd04
parent4cb31a9f3560b293670de95e76c1f3cf2f9e1ca8
mach-imx: bootaux: fix building with disabled bootelf

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>
arch/arm/mach-imx/Kconfig