[U-Boot] [PATCH v9 04/18] efi: sandbox: Enable EFI loader build for sandbox

Alexander Graf agraf at suse.de
Sun Aug 26 16:55:08 UTC 2018



On 08.08.18 11:54, Simon Glass wrote:
> This allows this feature to build within sandbox. This is for testing
> purposes only since it is not possible for sandbox to load native code.

Last time I tried I successfully ran native code?


Alex

> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
> Changes in v9: None
> Changes in v8: None
> Changes in v7:
> - Update patch subject s/builder/build/
> 
> Changes in v6: None
> Changes in v5: None
> Changes in v4: None
> Changes in v3:
> - Init the 'rows' and 'cols' vars to avoid a compiler error (gcc 4.8.4)
> 
> Changes in v2: None
> 
>  lib/efi_loader/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
> index ce6a09f0b43..bfd7b19d791 100644
> --- a/lib/efi_loader/Kconfig
> +++ b/lib/efi_loader/Kconfig
> @@ -1,6 +1,6 @@
>  config EFI_LOADER
>  	bool "Support running EFI Applications in U-Boot"
> -	depends on (ARM || X86 || RISCV) && OF_LIBFDT
> +	depends on (ARM || X86 || RISCV || SANDBOX) && OF_LIBFDT
>  	# We need EFI_STUB_64BIT to be set on x86_64 with EFI_STUB
>  	depends on !EFI_STUB || !X86_64 || EFI_STUB_64BIT
>  	# We need EFI_STUB_32BIT to be set on x86_32 with EFI_STUB
> 


More information about the U-Boot mailing list