On 5 January 2015 at 20:05, Simon Glass <s...@chromium.org> wrote: > For GPIOs and other functions we want to look up a phandle and then decode > a list of arguments for that phandle. Each phandle can have a different > number of arguments, specified by a property in the target node. This is > the "#gpio-cells" property for GPIOs. > > Add a function to provide this feature, taken modified from Linux 3.18. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > include/fdtdec.h | 53 ++++++++++++++++++++++++ > lib/fdtdec.c | 124 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 177 insertions(+)
Applied to u-boot-dm. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot