commit | 5504b80afa1493c46050c7381a95080ae073d1c1 | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Tue Aug 26 17:33:52 2014 +0200 |
committer | Simon Glass <sjg@chromium.org> | Wed Oct 22 16:56:41 2014 -0600 |
tree | b776b923538e7556387a406a0e68498a261d8b6e | |
parent | a24f1ac737bef9a2160620a90983c82feb49e095 [diff] |
fdt: Add functions to retrieve strings Given a device tree node, a property name and an index, the new function fdt_get_string_index() will return in an output argument a pointer to the index'th string in the property's value. The fdt_get_string() is a shortcut for the above with the index being 0. Signed-off-by: Thierry Reding <treding@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>