On Wed, Jun 14, 2017 at 05:53:03PM +0300, Pantelis Antoniou wrote: > This patchset makes overlays simpler to write by utilizing > the standard &label { }; syntax instead of the manual > method which is more error prone. > > Pantelis Antoniou (3): > overlay: Documentation for the overlay sugar syntax > overlay: Add syntactic sugar version of overlays > tests: Add a test for overlays syntactic sugar > > Documentation/dt-object-internal.txt | 17 +++++++++++++++++ > dtc-parser.y | 20 +++++++++++++++++--- > dtc.h | 1 + > livetree.c | 22 ++++++++++++++++++++++ > tests/run_tests.sh | 6 ++++++ > 5 files changed, 63 insertions(+), 3 deletions(-) Sorry I took so long to look at patches 2 & 3. I've had travel and sickness, and business at day job and, and, and... Long term I'd still prefer to handle overlay construction as a separate processing pass, rather than during parse. However, that won't change the interface / syntax, so it can be fixed up later without breaking things. Therefore, I've merged patches 2 & 3. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
Attachment:
signature.asc
Description: PGP signature