summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-01-27 18:49:46 +0300
committerSimon Glass <sjg@chromium.org>2020-02-06 05:33:45 +0300
commitbd933bfd834364bca6cc6f3a62e4255090a5bec1 (patch)
treeaade4618c7168efe95a72e4466350513ce1549fd /arch
parent1aada6313ca9b9e9123a4118c78558ef413e1039 (diff)
downloadu-boot-bd933bfd834364bca6cc6f3a62e4255090a5bec1.tar.xz
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/sandbox/dts/test.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index a04afd4076..347ea79077 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -815,6 +815,7 @@
#size-cells = <1>;
setting = "sunrise ohoka";
other-node = "/some-bus/c-test@5";
+ int-values = <0x1937 72993>;
chosen-test {
compatible = "denx,u-boot-fdt-test";
reg = <9 1>;