]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[fdt] Allow for the existence of multiple device trees
authorMichael Brown <mcb30@ipxe.org>
Fri, 28 Mar 2025 12:42:30 +0000 (12:42 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 28 Mar 2025 14:14:32 +0000 (14:14 +0000)
commit2399c7998072f47a7f599ddd4d318bbc14adf39d
tree730835fee2e698b7207d2b0d22836d441753c18a
parent09fbebc084bddcb5bc7277f1644154ab35e6a334
[fdt] Allow for the existence of multiple device trees

When running on a platform that uses FDT as its hardware description
mechanism, we are likely to have multiple device tree structures.  At
a minimum, there will be the device tree passed to us from the
previous boot stage (e.g. OpenSBI), and the device tree that we
construct to be passed to the booted operating system.

Update the internal FDT API to include an FDT pointer in all function
parameter lists.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/riscv/core/hart.c
src/arch/riscv/core/zicntr.c
src/arch/riscv/prefix/sbiprefix.S
src/core/fdt.c
src/drivers/net/smscusb.c
src/include/ipxe/fdt.h
src/interface/efi/efi_fdt.c