diff options
author | Simon Glass <sjg@chromium.org> | 2023-09-12 12:27:13 -0600 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2023-09-15 16:00:43 +1000 |
commit | 52157f13ef3d45984ab17fd79bf0d9c69b57ae66 (patch) | |
tree | e9e3c8de02b06367c87bd88e2096216a6ba9fd51 /tests/test_props.dts | |
parent | d774337275666e013a5930aebace1c6f76e343b1 (diff) | |
download | dtc-main.zip dtc-main.tar.gz dtc-main.tar.bz2 |
Boolean properties are unusual in that their presense or absence
indicates the value of the property. This makes them a little painful to
support using the existing getprop() support.
Add new methods to deal with booleans specifically.
Signed-off-by: Simon Glass <sjg@chromium.org>
Message-ID: <20230912182716.248253-1-sjg@chromium.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/test_props.dts')
-rw-r--r-- | tests/test_props.dts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_props.dts b/tests/test_props.dts index 5089023..09be197 100644 --- a/tests/test_props.dts +++ b/tests/test_props.dts @@ -12,4 +12,5 @@ prop-uint32-array = <0x1>, <0x98765432>, <0xdeadbeef>; prop-int64-array = /bits/ 64 <0x100000000 0xfffffffffffffffe>; prop-uint64-array = /bits/ 64 <0x100000000 0x1>; + prop-bool; }; |