]> git.baikalelectronics.ru Git - uboot.git/commit
dtoc: Adjust Node to record its parent
authorSimon Glass <sjg@chromium.org>
Tue, 29 Aug 2017 20:15:47 +0000 (14:15 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Sep 2017 11:24:39 +0000 (05:24 -0600)
commit1135cce5001673fc9431616f8eb2313da28dab96
tree39211826a1100083a9d5a1454f84811defc80128
parent486e2e431ad7bb3c01fb949d32f3e8d91711b1bc
dtoc: Adjust Node to record its parent

We need to be able to search back up the tree for #address-cells and
 #size-cells. Record the parent of each node to make this easier.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Kever Yang <kever.yang@rock-chips.com>
tools/dtoc/fdt.py