
This series proposes a new way to deal with alias nodes and introduces a function to take care of it.
It includes an example of converting USB code over to use this new function.
Note: At present it does not deal automatically with disabled nodes, but perhaps it should? Or perhaps this is better as an option. Something to leave for later perhaps.
Note 2: The actual logic of this function is not properly tested yet.
Simon Glass (2): fdt: Add fdtdec_find_aliases() to deal with alias nodes tegra: Use fdtdec_find_aliases() to find USB ports
arch/arm/cpu/armv7/tegra2/usb.c | 17 ++++---- include/fdtdec.h | 51 ++++++++++++++++++++++ lib/fdtdec.c | 89 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 148 insertions(+), 9 deletions(-)
Hi,
what's the status of this patch/patchset?
Thanks M