nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

drivers/devicetree/fdt: add additional fdt parsing utilities

Open g2gps opened this issue 1 year ago • 3 comments

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.

g2gps avatar May 27 '24 03:05 g2gps

There's potential to move these to the generic drivers/devicetree/fdt.c. However I'm not sure how much boilerplate to contribute there.

g2gps avatar May 27 '24 03:05 g2gps

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?

xiaoxiang781216 avatar May 27 '24 07:05 xiaoxiang781216

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.

g2gps avatar May 28 '24 05:05 g2gps