1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-07 18:39:18 +01:00
Files
u-boot-megous/drivers/core/ofnode.c
Simon Glass 075bfc9575 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: Simon Glass <sjg@chromium.org>
2021-11-28 16:51:51 -07:00

26 KiB