]> git.dujemihanovic.xyz Git - u-boot.git/commit
dtoc: Support finding the offset of a property
authorSimon Glass <sjg@chromium.org>
Tue, 26 Jul 2016 00:59:16 +0000 (18:59 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 19 Sep 2016 03:04:39 +0000 (21:04 -0600)
commitbabdbde68f1b993289462394f209f4010c761246
tree4f058c7234cbb8ba2400447d9c9f8fabd6d85e8c
parentda5f74998b9e5e6b706608a4ca625ef0ee195150
dtoc: Support finding the offset of a property

Add a way to find the byte offset of a property within the device tree. This
is only supported with the normal libfdt implementation since fdtget does
not provide this information.

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