libfdt: Bring in upstream stringlist functions
authorSimon Glass <sjg@chromium.org>
Sun, 2 Oct 2016 23:59:28 +0000 (17:59 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Oct 2016 19:54:10 +0000 (13:54 -0600)
commitb02e4044ff8ee1f6ac83917a39514172a9b449fb
treed8f1e23e27364854c39a6592958382d5bdc1ef62
parent9c07b9877cf07a1a971a79ed7c2369a58c0baca2
libfdt: Bring in upstream stringlist functions

These have now landed upstream. The naming is different and in one case the
function signature has changed. Update the code to match.

This applies the following upstream commits by
Thierry Reding <treding@nvidia.com> :

   604e61e fdt: Add functions to retrieve strings
   8702bd1 fdt: Add a function to get the index of a string
   2218387 fdt: Add a function to count strings

Signed-off-by: Simon Glass <sjg@chromium.org>
21 files changed:
arch/arm/mach-tegra/xusb-padctl-common.c
arch/arm/mach-uniphier/board_late_init.c
arch/x86/cpu/irq.c
common/image-fit.c
common/image.c
drivers/clk/clk-uclass.c
drivers/core/device.c
drivers/gpio/dwapb_gpio.c
drivers/i2c/mxc_i2c.c
drivers/mailbox/mailbox-uclass.c
drivers/net/sun8i_emac.c
drivers/pinctrl/exynos/pinctrl-exynos.c
drivers/pinctrl/meson/pinctrl-meson.c
drivers/pinctrl/pinctrl-generic.c
drivers/pinctrl/pinctrl-uclass.c
drivers/reset/reset-uclass.c
drivers/video/sunxi_display.c
include/libfdt.h
lib/fdtdec.c
lib/libfdt/fdt_ro.c
test/overlay/cmd_ut_overlay.c