[PATCH 14/49] dtoc: Add a header comment to each generated file

Simon Glass sjg at chromium.org
Wed Jan 6 16:12:55 CET 2021


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 at chromium.org>
---

 tools/dtoc/dtb_platdata.py | 30 ++++++++++++++++++++----------
 tools/dtoc/test_dtoc.py    |  6 ++++--
 2 files changed, 24 insertions(+), 12 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list