Skip to content
Commit 075bfc95 authored by Simon Glass's avatar Simon Glass
Browse files

dm: core: Add a way to obtain a string list



At present we support reading a string list a string at a time. Apart
from being inefficient, this makes it impossible to separate reading of
the devicetree into the of_to_plat() method where it belongs, since any
code which needs access to the string must read it from the devicetree.

Add a function which returns the string property as an array of pointers
to the strings, which is easily used by clients.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 32c6a8e1
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