summaryrefslogtreecommitdiff
path: root/lib/efi_loader
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-11-07 14:31:47 -0700
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-11-09 10:01:47 +0100
commit16b5423eb390b1ad377a182f61f55e0303a08e18 (patch)
tree43ab41c926f180d295a0613b6285698f7b24b3ae /lib/efi_loader
parent7506c1566998d188867423bd184a9dd00a9246c4 (diff)
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 <sjg@chromium.org>
Diffstat (limited to 'lib/efi_loader')
-rw-r--r--lib/efi_loader/efi_helper.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/efi_loader/efi_helper.c b/lib/efi_loader/efi_helper.c
index ab5678eb66c..bf96f61d3d0 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;
}