]> git.sur5r.net Git - u-boot/commit
dtoc: Support packing the device tree
authorSimon Glass <sjg@chromium.org>
Tue, 26 Jul 2016 00:59:15 +0000 (18:59 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 19 Sep 2016 03:04:39 +0000 (21:04 -0600)
commitda5f74998b9e5e6b706608a4ca625ef0ee195150
tree2c628a3eafc53e5976da64efef57569462595ab5
parent2a70d897ed68fd521411a10831ac05e1ffdd3d41
dtoc: Support packing the device tree

After any node/property deletion the device tree can be packed to remove
spare space. Add a way to perform this operation.

Note that for fdt_fallback, fdtput automatically packs the device tree after
deletion, so no action is required here.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/libfdt/libfdt.swig
tools/dtoc/fdt.py
tools/dtoc/fdt_normal.py