diff options
author | Simon Glass <sjg@chromium.org> | 2024-11-07 14:31:47 -0700 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-11-09 10:01:47 +0100 |
commit | 16b5423eb390b1ad377a182f61f55e0303a08e18 (patch) | |
tree | 43ab41c926f180d295a0613b6285698f7b24b3ae | |
parent | 7506c1566998d188867423bd184a9dd00a9246c4 (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>
-rw-r--r-- | lib/efi_loader/efi_helper.c | 2 |
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; } |