Commit 44d3efed authored by Grant Likely's avatar Grant Likely Committed by David Gibson
Browse files

Preserve datatype information when parsing dts



The current code throws away all the data type and grouping information
when parsing the DTS source file, which makes it difficult to
reconstruct the data format when emitting a format that can express data
types (ie. dts and yaml). Use the marker structure to mark the beginning
of each integer array block (<> and []), and the datatype contained in
each (8, 16, 32 & 64 bit widths).

Signed-off-by: default avatarGrant Likely <grant.likely@arm.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
[robh: s/MARKER_/TYPE_/]
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent f0be81bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment