]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: Drop sandbox PXE architecture
authorSimon Glass <sjg@chromium.org>
Thu, 7 Nov 2024 21:31:47 +0000 (14:31 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 9 Nov 2024 09:01:47 +0000 (10:01 +0100)
Rather than returning 0, just return an error, since sandbox is not used
with PXE at present.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/efi_loader/efi_helper.c

index ab5678eb66c4341d031607de3ef79a4c817721f3..bf96f61d3d0eddea1aaead0188154518f4e46713 100644 (file)
@@ -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;
 }