]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[dt] Add basic concept of a devicetree bus
authorMichael Brown <mcb30@ipxe.org>
Mon, 14 Apr 2025 10:34:20 +0000 (11:34 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 14 Apr 2025 13:52:51 +0000 (14:52 +0100)
commit37e9f785ba6573a5298cf6aea2b04bf4ad674b2f
treee2f1064e8dbf8eab9a8fadf5e84f8e44fa455dc9
parentd462aeb0ca9c7fb5fb61631121404661bf5e7809
[dt] Add basic concept of a devicetree bus

Add a basic model for devices instantiated by parsing the system
flattened device tree, with drivers matched via the "compatible"
property for any non-root node.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/bus/devtree.c [new file with mode: 0644]
src/include/ipxe/device.h
src/include/ipxe/devtree.h [new file with mode: 0644]
src/include/ipxe/errfile.h