]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[fdt] Generalise access to "reg" property
authorMichael Brown <mcb30@ipxe.org>
Fri, 9 May 2025 15:26:41 +0000 (16:26 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 9 May 2025 18:09:57 +0000 (19:09 +0100)
commitf988ec09e01b54d21d1b1fa0e2b3121d926ed7df
tree3b6e8c5c1ea87f418b311eda74f30989cad8cf90
parent3027864f131d46b6437cba09c97caefdf62a9373
[fdt] Generalise access to "reg" property

The "reg" property is also used by non-device nodes, such as the nodes
describing the system memory map.

Provide generalised functionality for parsing the "#address-cells",
"#size-cells", and "reg" properties.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/fdt.c
src/drivers/bus/devtree.c
src/include/ipxe/devtree.h
src/include/ipxe/fdt.h