diff options
author | Simon Glass <sjg@chromium.org> | 2018-07-10 14:49:07 -0600 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-07-11 16:21:20 +1000 |
commit | 853649accebaaa780142916a9c676a3a1fe0f2e5 (patch) | |
tree | 7a4a9d6d07eee4254b8cc41f0e7251f3c11e3381 /data.c | |
parent | 9b0e4fe26093cf3846868543b24b874990ec76e1 (diff) | |
download | dtc-853649accebaaa780142916a9c676a3a1fe0f2e5.zip dtc-853649accebaaa780142916a9c676a3a1fe0f2e5.tar.gz dtc-853649accebaaa780142916a9c676a3a1fe0f2e5.tar.bz2 |
pylibfdt: Support the sequential-write interface
It is useful to be able to create a device tree from scratch using
software. This is supported in libfdt but not currently available in the
Python bindings.
Add a new FdtSw class to handle this, with various methods corresponding
to the libfdt functions. When the tree is complete, calling AsFdt() will
return the completed device-tree object.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'data.c')
0 files changed, 0 insertions, 0 deletions