[U-Boot] [PATCH 12/23] ARM: tegra: Implement XUSB pad controller

Thierry Reding
2014-08-22T14:38:53Z

On Wed, Aug 20, 2014 at 12:32:45PM -0600, Stephen Warren wrote:
> On 08/18/2014 01:16 AM, Thierry Reding wrote:
[...]
> >diff --git a/arch/arm/cpu/tegra124-common/xusb-padctl.c b/arch/arm/cpu/tegra124-common/xusb-padctl.c
>
> >+int fdtdec_count_strings(const void *fdt, int node, const char *prop_name)
>
> >+int fdtdec_get_string_index(const void *fdt, int node, const char *prop_name,
> >+ int index, const char **output)
>
> >+int fdtdec_get_string(const void *fdt, int node, const char *prop_name,
>
> Shouldn't those be in libfdt or similar? I thought I saw a patch to do that.

I renamed the current fdt_get_string_index() to fdt_find_string() in the
hope of removing the naming ambiguity and added these two as
fdt_get_string_index() and fdt_get_string(). And I moved the
fdtdec_count_strings() into libfdt as well and named it
fdt_count_strings().

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140822/336fd5c7/attachment.pgp>