Re: [PATCH RESEND] of: add dtc annotations functionality to dtx_diff

From: Rob Herring
Date: Wed Feb 13 2019 - 14:06:14 EST


On Thu, Jan 17, 2019 at 02:01:14PM -0800, frowand.list@xxxxxxxxx wrote:
> From: Frank Rowand <frank.rowand@xxxxxxxx>
>
> Add -T and --annotations command line arguments to dtx_diff. These
> arguments will be passed through to dtc. dtc will then add source
> location annotations to its output.
>
> Signed-off-by: Frank Rowand <frank.rowand@xxxxxxxx>
> ---
>
> If dtx_diff is provided with a single devicetree source file then
> that source file will be compiled, with all appropriate includes
> and pre-processing, and the result will be output as source. This
> provides a convenient mechanism to see what the devicetree looks
> like after all processing and replacements occur. The
> --annotations argument will cause dtc to report information about
> where the source was located for each line of the output.
>
> scripts/dtc/dtx_diff | 13 ++++++++++++-
> 1 file changed, 12 insertions(+), 1 deletion(-)

Applied.

Rob