commit | 5fdb005652ec0461e33803cc4939af24aaf50438 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Jun 12 06:21:28 2017 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 11 10:08:20 2017 -0600 |
tree | b1e0018844e958ca5e9eb65e1366071cff79db45 | |
parent | dde3e714d5a57d69c4c5d4fe70f175eb0b45a248 [diff] |
dm: core: Add ofnode_read_string_count() This provides a way to find the number of strings in a string list. Add it and also fix up the comment for ofnode_read_string_index(). Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Beaver, Jetson-TK1