diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-11-22 09:38:29 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-11-27 12:06:54 +0100 |
commit | 6441dfa8307a564f797b868a74205fe9c2f42eb0 (patch) | |
tree | 8479d71e768b0de2b678cb12cf64f5db895b14cc /commands | |
parent | c7ec778bbe2527254c2a05f990bb632c72d94563 (diff) | |
download | barebox-6441dfa8307a564f797b868a74205fe9c2f42eb0.tar.gz barebox-6441dfa8307a564f797b868a74205fe9c2f42eb0.tar.xz |
of: Add of_property_read_string_array()
of_property_read_string_array() is used to read a multistring device
tree property into an array of strings. This is taken from the kernel.
It is implemented around of_property_read_string_helper() which can be
used to implement of_property_count_strings() and
of_property_read_string_index() as well.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
0 files changed, 0 insertions, 0 deletions