diff options
author | Anton Staaf <robotboy@chromium.org> | 2011-09-09 12:16:30 -0700 |
---|---|---|
committer | Jon Loeliger <jdl@jdl.com> | 2011-09-22 09:24:31 -0500 |
commit | a4ea2fa9518ff0f4d7f4a08647599a727faac2e0 (patch) | |
tree | 1d51fe9f5d39c2beb168a20efb90cc51e6f46d52 /Documentation/dts-format.txt | |
parent | 83df28bd39979b32a75656cac291c36dbd4e5497 (diff) | |
download | dtc-a4ea2fa9518ff0f4d7f4a08647599a727faac2e0.zip dtc-a4ea2fa9518ff0f4d7f4a08647599a727faac2e0.tar.gz dtc-a4ea2fa9518ff0f4d7f4a08647599a727faac2e0.tar.bz2 |
dtc: Support character literals in cell lists
With this patch the following property assignment:
property = <0x12345678 'a' '\r' 100>;
is equivalent to:
property = <0x12345678 0x00000061 0x0000000D 0x00000064>
Signed-off-by: Anton Staaf <robotboy@chromium.org>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'Documentation/dts-format.txt')
-rw-r--r-- | Documentation/dts-format.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/dts-format.txt b/Documentation/dts-format.txt index a655b87..eae8b76 100644 --- a/Documentation/dts-format.txt +++ b/Documentation/dts-format.txt @@ -33,7 +33,7 @@ Property values may be defined as an array of 32-bit integer cells, as NUL-terminated strings, as bytestrings or a combination of these. * Arrays of cells are represented by angle brackets surrounding a - space separated list of C-style integers + space separated list of C-style integers or character literals. e.g. interrupts = <17 0xc>; |