mirror of
https://github.com/dgibson/dtc.git
synced 2026-04-11 16:37:42 -04:00
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>
This commit is contained in:
parent
83df28bd39
commit
a4ea2fa951
9 changed files with 107 additions and 1 deletions
|
|
@ -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>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue