[PATCH 09/21] dm: core: Add ofnode_read_prop()
sjg at google.com
sjg at google.com
Wed Feb 5 18:56:53 CET 2020
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 at chromium.org>
---
drivers/core/ofnode.c | 31 ++++++++++++++++++++++++-------
include/dm/ofnode.h | 13 ++++++++++++-
test/dm/ofnode.c | 26 ++++++++++++++++++++++++++
3 files changed, 62 insertions(+), 8 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list