I'd like to improve this code a bit in nobootloader before merging it into
yaboot-installer: when comparing two OF paths, it should really resolve each
component of the path into a canonical form (e.g. "pci@f2000000") by looking at
symlinks in /proc/device-tree, rather than collapsing "pci@f2000000" down to
"pci" and comparing that. I think that was what bothered me the last time I
looked at merging this code.
Otherwise, yeah, that would be nice for traditional yaboot architectures as well
as for Pegasos.
I'd like to improve this code a bit in nobootloader before merging it into
yaboot-installer: when comparing two OF paths, it should really resolve each
component of the path into a canonical form (e.g. "pci@f2000000") by looking at
symlinks in /proc/device-tree, rather than collapsing "pci@f2000000" down to
"pci" and comparing that. I think that was what bothered me the last time I
looked at merging this code.
Otherwise, yeah, that would be nice for traditional yaboot architectures as well
as for Pegasos.