dtoc: Add a header comment to each generated file
authorSimon Glass <sjg@chromium.org>
Tue, 29 Dec 2020 03:35:00 +0000 (20:35 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Jan 2021 19:26:35 +0000 (12:26 -0700)
commitd1055d681af40963d1c4b1a517ae131f738983f4
treeba986f4bdaca3a4fadc3b3094631151af2aacb83
parent5d9a3aa99cc7a1ed6502a98152bd0e13b4e05539
dtoc: Add a header comment to each generated file

It is currently fairly obvious what the two generated files are for, but
this will change as more are added. It is helpful for readers to describe
the purpose of each file.

Add a header commment field to OutputFile and use it to generate a comment
at the top of each file.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/dtoc/dtb_platdata.py
tools/dtoc/test_dtoc.py