diff options
| author | Oleksandr Suvorov <[email protected]> | 2023-08-31 17:03:52 +0300 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2023-09-23 18:45:33 +0200 |
| commit | 71dfe179cd3840f56bc812131b4031b0976efbc1 (patch) | |
| tree | 78904c98df0273c218ca39d9c4cf9fd4532fbd04 | |
| parent | 4cb31a9f3560b293670de95e76c1f3cf2f9e1ca8 (diff) | |
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 <[email protected]>
| -rw-r--r-- | arch/arm/mach-imx/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
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. |
