]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Add ofnode_get_chosen_prop()
authorSimon Glass <sjg@chromium.org>
Mon, 27 Jan 2020 15:49:46 +0000 (08:49 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:45 +0000 (19:33 -0700)
commitc251af3077bf71a72ea11dd47dea08dfb67fca9d
treeaade4618c7168efe95a72e4466350513ce1549fd
parentbcbb5f8bb586dcbaa889b0993c9f759a73e0ed42
dm: core: Add ofnode_get_chosen_prop()

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@chromium.org>
arch/sandbox/dts/test.dts
drivers/core/ofnode.c
include/dm/ofnode.h
test/dm/ofnode.c