diff options
author | Simon Glass | 2020-12-28 20:35:04 -0700 |
---|---|---|
committer | Simon Glass | 2021-01-05 12:26:35 -0700 |
commit | 9eca08dc5986c9e00bb68a4529ec9404a282bc57 (patch) | |
tree | ba935489dd796176fb1d3c75059651c6d376bfa9 /tools/gpimage.c | |
parent | 1e0f3f46bd9afed12b331cbe945abd4046250ed5 (diff) |
dtoc: Output nodes in order
Previously we had to worry about nodes being output before those that they
depended on, thus causing build errors. So the current algorithm is
careful to output nodes in the right order.
We now use a different method for outputting phandles that does not
involve pointers. Also we plan to add a 'declarations' header file to
declare all drivers as 'extern'.
Update the code to drop the dependency checking and output in a simple
loop. This makes the output easier to follow since drivers are in order of
thier indices (0, 1, ...), which is also the order it appears in in the
linker list.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/gpimage.c')
0 files changed, 0 insertions, 0 deletions