[U-Boot] [RFC PATCH 0/2] fdt: Deal correctly with alias nodes

Simon Glass sjg at chromium.org
Mon Dec 26 23:31:48 CET 2011


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(-)

-- 
1.7.3.1



More information about the U-Boot mailing list