[PATCH 11/21] dm: core: Add ofnode_get_chosen_prop()

sjg at google.com sjg at google.com
Wed Feb 5 18:56:50 CET 2020


Add a function to read a property from the chosen node, providing access
to its length. Update ofnode_get_chosen_string() to make use of it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/sandbox/dts/test.dts |  1 +
 drivers/core/ofnode.c     | 11 ++++++++---
 include/dm/ofnode.h       | 12 ++++++++++++
 test/dm/ofnode.c          |  8 ++++++++
 4 files changed, 29 insertions(+), 3 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list