Commit 0ea8741ff65e2b1cf86763b1f6392499df286ce1
Committed by
Alexander Graf
1 parent
0a76ba6556
Exists in
smarc_8mq_lf_v2020.04
and in
11 other branches
efi_loader: CMD_BOOTEFI_HELLO_COMPILE in configs
It should not be necessary to adjust CMD_BOOTEFI_HELLO_COMPILE in config files. arch/arm/lib/crt0_arm_efi.S cannot be compiled in thumbs mode. We can disable CMD_BOOTEFI_HELLO_COMPILE for CONFIG_CPU_V7M. So there is no longer a need to disable it in stm32 configs. helloworld.efi can be built without problems on x86_64. So there is no need to disable it in chromebook_link64_defconfig and qemu-x86_64_defconfig. Same is true for ARM V7A. So do not disable CMD_BOOTEFI_HELLO_COMPILE in kp_imx6q_tpc_defconfig. Some architecture checks are already make for EFI_LOADER. There is no need to repeat them for CMD_BOOTEFI_HELLO_COMPILE Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Patrice.Chotard@st.com Signed-off-by: Alexander Graf <agraf@suse.de>
Showing 7 changed files with 1 additions and 7 deletions Side-by-side Diff
cmd/Kconfig
... | ... | @@ -226,7 +226,7 @@ |
226 | 226 | |
227 | 227 | config CMD_BOOTEFI_HELLO_COMPILE |
228 | 228 | bool "Compile a standard EFI hello world binary for testing" |
229 | - depends on CMD_BOOTEFI && (ARM || X86 || RISCV) | |
229 | + depends on CMD_BOOTEFI && !CPU_V7M && !SANDBOX | |
230 | 230 | default y |
231 | 231 | help |
232 | 232 | This compiles a standard EFI hello world application with U-Boot so |
configs/chromebook_link64_defconfig
configs/kp_imx6q_tpc_defconfig
configs/qemu-x86_64_defconfig
configs/stm32f429-discovery_defconfig
configs/stm32f429-evaluation_defconfig
configs/stm32f469-discovery_defconfig