commit | a24f1ac737bef9a2160620a90983c82feb49e095 | [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 | 92ba09e2d9041c85c936e9d2f7c449f29864b544 [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>