]> git.baikalelectronics.ru Git - uboot.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)
commitc87667d3806e73b1998fe8fba0adec7d57920c8d
tree78904c98df0273c218ca39d9c4cf9fd4532fbd04
parente29142566ccd492e4ae683ef6dddb330223696c3
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: f7c41cafee6 ("mach-imx: bootaux: elf firmware support")
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
arch/arm/mach-imx/Kconfig