aboutsummaryrefslogtreecommitdiff
path: root/drivers/core/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/core/read.c')
-rw-r--r--drivers/core/read.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/core/read.c b/drivers/core/read.c
index 4307ca4579..31f9e78a06 100644
--- a/drivers/core/read.c
+++ b/drivers/core/read.c
@@ -205,6 +205,12 @@ int dev_read_string_count(const struct udevice *dev, const char *propname)
return ofnode_read_string_count(dev_ofnode(dev), propname);
}
+int dev_read_string_list(const struct udevice *dev, const char *propname,
+ const char ***listp)
+{
+ return ofnode_read_string_list(dev_ofnode(dev), propname, listp);
+}
+
int dev_read_phandle_with_args(const struct udevice *dev, const char *list_name,
const char *cells_name, int cell_count,
int index, struct ofnode_phandle_args *out_args)