]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-boot: Support installing new devicetree
authorEmil Renner Berthing <systemd@esmil.dk>
Sat, 24 Apr 2021 23:38:28 +0000 (23:38 +0000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 10 Sep 2021 07:48:47 +0000 (16:48 +0900)
commit6e86342bb82a7e77eb770ee2767c7ec4bca19437
tree4a3eb8df4ea8f54aa0ad41d6cf6648f34fd94bdf
parent7c5b9952c4f6e2b72f90edbe439982528b7cf223
sd-boot: Support installing new devicetree

The Bootloader Specification says "devicetree refers to the binary
device tree to use when executing the kernel..", but systemd-boot
didn't actually do anything when encountering this stanza until now.

Add support for loading, applying fixups if relevant, and installing the
new device tree before executing the kernel.
src/boot/efi/boot.c
src/boot/efi/devicetree.c [new file with mode: 0644]
src/boot/efi/devicetree.h [new file with mode: 0644]
src/boot/efi/meson.build
src/boot/efi/missing_efi.h