[PATCH v2] mach-imx: bootaux: fix building with disabled bootelf

2023-09-23 Thread sbabic
> 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' >

[PATCH v2] mach-imx: bootaux: fix building with disabled bootelf

2023-08-31 Thread Oleksandr Suvorov
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: