scripts: build-efi: Drop the -a option

This is not really needed, since it is the default and we have -p to
select the payload. It also conflicts with -a in build-qemu

Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-06-12 06:09:12 -06:00
parent ce85d868e1
commit 12e532f710

View File

@@ -37,8 +37,6 @@ def parse_args():
parser = ArgumentParser(
epilog='Script for running U-Boot as an EFI app/payload')
build_helper.add_common_args(parser)
parser.add_argument('-a', '--app', action='store_true',
help='Package up the app')
parser.add_argument('-A', '--arm', action='store_true',
help='Run on ARM architecture')
parser.add_argument('-g', '--debug', action='store_true',
@@ -48,7 +46,7 @@ def parse_args():
parser.add_argument('-O', '--old', action='store_true',
help='Use old EFI app build (before 32/64 split)')
parser.add_argument('-p', '--payload', action='store_true',
help='Package up the payload')
help='Package up the payload instead of the app')
parser.add_argument('-P', '--partition', action='store_true',
help='Create a partition table')
parser.add_argument('-v', '--verbose', action='store_true',
@@ -56,8 +54,6 @@ def parse_args():
args = parser.parse_args()
if args.app and args.payload:
raise ValueError('Please choose either app or payload, not both')
return args