From: Simon Glass Date: Thu, 7 Nov 2024 21:31:47 +0000 (-0700) Subject: efi_loader: Drop sandbox PXE architecture X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20%24style.Permalink%20%7D%7D?a=commitdiff_plain;h=16b5423eb390b1ad377a182f61f55e0303a08e18;p=u-boot.git efi_loader: Drop sandbox PXE architecture Rather than returning 0, just return an error, since sandbox is not used with PXE at present. Signed-off-by: Simon Glass --- diff --git a/lib/efi_loader/efi_helper.c b/lib/efi_loader/efi_helper.c index ab5678eb66..bf96f61d3d 100644 --- a/lib/efi_loader/efi_helper.c +++ b/lib/efi_loader/efi_helper.c @@ -91,8 +91,6 @@ int efi_get_pxe_arch(void) return 0x19; else if (IS_ENABLED(CONFIG_ARCH_RV64I)) return 0x1b; - else if (IS_ENABLED(CONFIG_SANDBOX)) - return 0; /* not used */ return -EINVAL; }