dm: core: Add ofnode_read_prop()
Add a new function to read a property that supports reading the length as
well.
Reimplement ofnode_read_string() using it and fix its comment.
Signed-off-by:
Simon Glass <sjg@chromium.org>
Loading
Please register or sign in to comment