From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Date: Fri, 22 Aug 2014 16:38:53 +0200 Subject: [U-Boot] [PATCH 12/23] ARM: tegra: Implement XUSB pad controller In-Reply-To: <53F4E9CD.8080308@wwwdotorg.org> References: <1408346196-30419-1-git-send-email-thierry.reding@gmail.com> <1408346196-30419-13-git-send-email-thierry.reding@gmail.com> <53F4E9CD.8080308@wwwdotorg.org> Message-ID: <20140822143852.GF15686@ulmo> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: