[U-Boot] [PATCH v2 03/11] efi_loader: Use compiler constants for image loader

Simon Glass sjg at chromium.org
Thu Jun 14 19:01:08 UTC 2018


Hi Alex,

On 14 June 2018 at 12:22, Alexander Graf <agraf at suse.de> wrote:
> The EFI image loader tries to determine which target architecture we're
> working with to only load PE binaries that match.
>
> So far this has worked based on CONFIG defines, because the target CPU
> was always indicated by a config define. With sandbox however, this is
> not longer true as all sandbox targets only encompass a single CONFIG
> option and so we need to use compiler defines to determine the CPU
> architecture.
>
> Signed-off-by: Alexander Graf <agraf at suse.de>
> ---
>  lib/efi_loader/efi_image_loader.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
>

NAK to this for now until we figure out a response to my concerns
previously expressed.

Regards,
Simon


More information about the U-Boot mailing list