Skip to content

DTC: Introduce better DTS literal support

Jon Loeliger linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4DTC: Reformat grammar rules to not mix language syntax and yacc syntax.dtc-parser.y+118 -342 replies
2/4DTC: Quiet a bogus "May be used uninitialized" warning.flattree.c+1 -11 reply
3/4DTC: Appease the printf() format $Gods with a correct type.tests/get_name.c+1 -17 replies
4/4DTC: Begin the path to sane literals and expressions.dtc-lexer.l dtc-parser.y dtc.c +3 more+303 -9412 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchDavid Gibson
1/4A-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] DTC: Introduce better DTS literal support

Folks,

This 4 part patch series for the DTC has:

0001-Reformat-grammar-rules-to-not-mix-language-syntax-an.patch 0002-Quiet-a-bogus-May-be-used-uninitialized-warning.patch 0003-Appease-the-printf-format-Gods-with-a-correct-typ.patch 0004-Begin-the-path-to-sane-literals-and-expressions.patch

The first is a pure whitespace formatting cleaning. The second two clean compiler warnings.
The final one introduces a versioned DTS file with
support for C-like literals.

 dtc-lexer.l      |  180 ++++++++++++++++++++++++++++--------
 dtc-parser.y     |  275 ++++++++++++++++++++++++++++++++++++++++--------------
 dtc.c            |   26 +++++
 dtc.h            |   23 ++++-
 flattree.c       |    2 +-
 srcpos.h         |    1 +
 tests/get_name.c |    2 +-
 treesource.c     |   24 ++++-
 8 files changed, 413 insertions(+), 120 deletions(-)

Thanks,
jdl