Closed sivadur closed 3 months ago
The current logic to find phandle in address map is actually checking against all fields in addressmap(address, size, phandle) which is incorrect. Fix this by checking it only against the phandle in addressmap.
This looks ok to me.
But also note that there are LopperTree routines that can simplify (or at least unify) some of the logic in the assist.
i.e. see phandle_map() and how it is used in other places in the tree.
The current logic to find phandle in address map is actually checking against all fields in addressmap(address, size, phandle) which is incorrect. Fix this by checking it only against the phandle in addressmap.