[PATCH 2/7] pxe_utils: accept "options" as synonym for "append"

Alexey Charkov alchark at flipper.net
Thu Jun 4 17:31:07 CEST 2026


The Boot Loader Specification [1] type #2 entry files use the keyword
"options" for the kernel command line, which corresponds to extlinux's
"append". Recognising it here lets the existing pxelinux parser ingest
BLS entries unchanged, paving the way for a BLS bootmeth that reuses
the parser instead of duplicating it.

No effect on existing extlinux/pxelinux files: "options" is not a valid
keyword in those formats, so it cannot collide with prior usage.

[1] https://uapi-group.org/specifications/specs/boot_loader_specification/

Signed-off-by: Alexey Charkov <alchark at flipper.net>
---
 boot/pxe_utils.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boot/pxe_utils.c b/boot/pxe_utils.c
index 774d5f43c036..c45c9d0cd012 100644
--- a/boot/pxe_utils.c
+++ b/boot/pxe_utils.c
@@ -894,6 +894,7 @@ static const struct token keywords[] = {
 	{"linux", T_LINUX},
 	{"localboot", T_LOCALBOOT},
 	{"append", T_APPEND},
+	{"options", T_APPEND},
 	{"initrd", T_INITRD},
 	{"include", T_INCLUDE},
 	{"devicetree", T_FDT},

-- 
2.53.0



More information about the U-Boot mailing list