diff options
author | Edoardo Tomelleri <e.tomell@gmail.com> | 2022-09-21 15:26:33 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-10-11 15:40:48 -0400 |
commit | 35821a25c1ca06b71fbf6f46442cc9d93b31fb7d (patch) | |
tree | 011180a0b289dcace11993721540c4fbda2205e6 /boot | |
parent | 300077cf8cfe6875f3f0a919ec1d0dd32c42b178 (diff) | |
download | u-boot-35821a25c1ca06b71fbf6f46442cc9d93b31fb7d.tar.gz |
cmd: pxe: add alias devicetree-overlay for fdtoverlays
This adds keyword devicetree-overlay as an alias for fdtoverlays in
extlinux (sysboot) and pxe to better follow the Boot Loader Specification
[1], improves documentation around them by adding an example for both
fdtoverlays and devicetree-overlay and the environment variable required
for this feature. The link for the spec is updated to the current one.
[1] https://systemd.io/BOOT_LOADER_SPECIFICATION/
Signed-off-by: Edoardo Tomelleri <e.tomell@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'boot')
-rw-r--r-- | boot/pxe_utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/boot/pxe_utils.c b/boot/pxe_utils.c index a364fa8bb56..d5c215ae2c1 100644 --- a/boot/pxe_utils.c +++ b/boot/pxe_utils.c @@ -380,6 +380,7 @@ err: /** * label_boot_fdtoverlay() - Loads fdt overlays specified in 'fdtoverlays' + * or 'devicetree-overlay' * * @ctx: PXE context * @label: Label to process @@ -809,6 +810,7 @@ static const struct token keywords[] = { {"devicetreedir", T_FDTDIR}, {"fdtdir", T_FDTDIR}, {"fdtoverlays", T_FDTOVERLAYS}, + {"devicetree-overlay", T_FDTOVERLAYS}, {"ontimeout", T_ONTIMEOUT,}, {"ipappend", T_IPAPPEND,}, {"background", T_BACKGROUND,}, |