[PATCH v4 0/1] pylibfdt: Enhance pylibfdt support to cover sequential-write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



This adds the sequential-write interface which provides a way to create a
device tree from scratch. It also includes a way to set a node name and
a way to obtain properties as strings.

Changes in v4:
- Drop patches previously indicated as applied (but not yet present in master)
- Make resizing reactive (to -FDT_ERR_NOTFOUND) instead of proactive

Changes in v3:
- Add a separate comment explaining the purpose of the FdtSw context manager
- Adjust operation of as_fdt() to include calling fdt_finish()
- Drop unnecessary data copy in resize() an rely on fdt_resize() instead
- Rename AddNode() to add_node()
- Rename AsFdt() to as_fdt()
- Rename _fdt_property() to fdt_property_stub()
- Rename the size passed to the FdtSw() to a hint only
- Use fdtsw instead of fdtrw as internal variable in FdtSw

Simon Glass (1):
  pylibfdt: Support the sequential-write interface

 pylibfdt/libfdt.i       | 296 ++++++++++++++++++++++++++++++++++++++++
 tests/pylibfdt_tests.py |  89 +++++++++++-
 2 files changed, 379 insertions(+), 6 deletions(-)

-- 
2.18.0.rc2.346.g013aa6912e-goog

--
To unsubscribe from this list: send the line "unsubscribe devicetree-compiler" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux