Skip to content
Commit fc503c17 authored by Thierry Reding's avatar Thierry Reding Committed by Simon Glass
Browse files

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: default avatarThierry Reding <treding@nvidia.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent bc4147ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment