[PATCH v2 02/13] pxe_utils: accept "options" as synonym for "append"
Alexey Charkov <[email protected]>
| Newsgroups | org.u-boot-project.lists.u-boot |
|---|---|
| Message-ID | <[email protected]> |
The Boot Loader Specification [1] type #1 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. Link: https://uapi-group.org/specifications/specs/boot_loader_specification/ [1] Reviewed-by: Tom Rini <[email protected]> Signed-off-by: Alexey Charkov <[email protected]> --- boot/pxe_utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/pxe_utils.c b/boot/pxe_utils.c index f856a2fc1430..02bd43ac46e2 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.54.0