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: NThierry Reding <treding@nvidia.com> Acked-by: NSimon Glass <sjg@chromium.org>
Showing
想要评论请 注册 或 登录