diff options
author | Simon Glass <sjg@chromium.org> | 2017-04-22 18:42:22 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-05-10 13:37:21 -0600 |
commit | 439c947f32eacf2b4459aafc1fe5da70abb8ec20 (patch) | |
tree | 733fd54fcd459aec0a2d56eed34a1f7168c83eb1 /configs/inetspace_v2_defconfig | |
parent | 49eec8c7f1ce6773c733950e2fb300a8a8f4562b (diff) | |
download | u-boot-439c947f32eacf2b4459aafc1fe5da70abb8ec20.tar.gz u-boot-439c947f32eacf2b4459aafc1fe5da70abb8ec20.tar.bz2 u-boot-439c947f32eacf2b4459aafc1fe5da70abb8ec20.zip |
dtoc: Handle nodes with phandles that depend on the same
At present dtoc assumes that nodes which are phandles do not themselves
reference other phandle nodes. Unfortunately this is not necessarilly
true. As a result we can currently output C code which does not compile
because a node declaration can be referenced before it is declared.
Adjust the code to explicitly output all phandle nodes needed by node
before the node itself is output.
This fixes building with the latest rk3399-firefly.dts from Linux, which
has reordered the nodes.
Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'configs/inetspace_v2_defconfig')
0 files changed, 0 insertions, 0 deletions