dtoc: Allow adding variable-sized data to a dtb
authorSimon Glass <sjg@chromium.org>
Fri, 10 Jul 2020 00:39:44 +0000 (18:39 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 20 Jul 2020 17:37:47 +0000 (11:37 -0600)
commit1f238bd5bdc35d996751ed4b8faf8b4c4e69f68d
tree3f91a2a77479ecce99921cb616ebc3eea2604295
parent4c63d21754a2583df1d85d3af6f0a5bf5c300d20
dtoc: Allow adding variable-sized data to a dtb

Add a method for adding a property containing arbitrary bytes. Make sure
that the tree can expand as needed in this case.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/dtoc/fdt.py
tools/dtoc/test_fdt.py