drivers/devicetree/fdt: add additional fdt parsing utilities
Summary
arch/risc-v/litex: add some litex specific FDT helpers.
Impact
These utilities remove some of the boilerplate needed for FDT parsing and device initialization.
Testing
Litex port with device tree support. Further PRs to follow with driver support.
There's potential to move these to the generic drivers/devicetree/fdt.c. However I'm not sure how much boilerplate to contribute there.
There's potential to move these to the generic
drivers/devicetree/fdt.c. However I'm not sure how much boilerplate to contribute there.
yes, all functions aren't specific to riscv, so why not move to the common placce?
There's potential to move these to the generic
drivers/devicetree/fdt.c. However I'm not sure how much boilerplate to contribute there.yes, all functions aren't specific to riscv, so why not move to the common placce?
Ok, I'll do an update and repush.