summaryrefslogtreecommitdiff
path: root/tests/test_tree1_merge_labelled.dts
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2012-06-01 14:12:37 +1000
committerJon Loeliger <jdl@jdl.com>2012-06-03 09:14:13 -0500
commitcbf1410eab4b7ce7be1b15f985ef71bfc1f5886d (patch)
tree7b91ba2d60830d89ac7de1f35a5e6130d21e0b55 /tests/test_tree1_merge_labelled.dts
parent4adbb5336b0eed99f30c852d9dcf3cd125cae921 (diff)
downloaddtc-cbf1410eab4b7ce7be1b15f985ef71bfc1f5886d.tar.gz
libfdt: Add helpers for 64-bit integer properties
In device trees in the world, properties consisting of a single 64-bit integer are not as common as those consisting of a single 32-bit, cell sized integer, but they're common enough that they're worth including convenience functions for. This patch adds helper wrappers of fdt_setprop_inplace(), fdt_setprop() and fdt_appendprop() for handling 64-bit integer quantities in properties. For better consistency with the names of these new *_u64() functions we also add *_u32() functions as alternative names for the existing *_cell() functions handling 32-bit integers. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/test_tree1_merge_labelled.dts')
-rw-r--r--tests/test_tree1_merge_labelled.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_tree1_merge_labelled.dts b/tests/test_tree1_merge_labelled.dts
index 46a6840..29953b0 100644
--- a/tests/test_tree1_merge_labelled.dts
+++ b/tests/test_tree1_merge_labelled.dts
@@ -6,6 +6,7 @@
/ {
compatible = "test_tree1";
prop-int = <0xdeadbeef>;
+ prop-int64 = /bits/ 64 <0xdeadbeef01abcdef>;
prop-str = "hello world";
subnode@1 {