diff options
author | Alistair Popple <alistair@popple.id.au> | 2017-12-05 17:19:08 +1100 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2017-12-06 11:19:36 +1100 |
commit | 6b4b13bc13d0f49665113328a2657964ad905a77 (patch) | |
tree | 74674b6cd0bc628dda8ea45f04dae8dd5075aad3 /libpdbg/operations.h | |
parent | 5373c4bee9eeb1c8fb91266e3fed581ace397666 (diff) | |
download | pdbg-6b4b13bc13d0f49665113328a2657964ad905a77.tar.gz pdbg-6b4b13bc13d0f49665113328a2657964ad905a77.zip |
libpdbg/target.c: Stop probing target multiple times
A lot of the device-tree parsing code was borrowed from Skiboot. This
includes dt_for_each_node() which iterates over all the child device-tree
nodes. It was incorrectly assumed this only iterated over direct children,
rather than every child in the tree. This lead to each target being probed
multiple times when the children were explicitly (and incorrectly) iterated
over.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Diffstat (limited to 'libpdbg/operations.h')
0 files changed, 0 insertions, 0 deletions