commit | fc503c1791f35294d04495cd8ba3794bb6f15055 | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Tue Aug 26 17:33:51 2014 +0200 |
committer | Simon Glass <sjg@chromium.org> | Wed Oct 22 16:56:40 2014 -0600 |
tree | 533bf4e7806abd8a90b41e8ec6a7c7390fe8d47f | |
parent | bc4147ab2d698bf7375a10af73ce34d76129edff [diff] |
fdt: Add a function to get the index of a string Given a device tree node and a property name, the new fdt_find_string() function will look up a given string in the string list contained in the property's value and return its index. Signed-off-by: Thierry Reding <treding@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>