[PATCH 0/8] dtoc: Improvements to warnings
    Simon Glass 
    sjg at chromium.org
       
    Sun Jul  4 20:19:42 CEST 2021
    
    
  
The warning about a missing driver can be a bit confusing and is not
specifically mentioned in the documentation. Also some parse errors result
in the driver simply being ignored, which is hard to diagnose.
This series updates dtoc to try harder to find common errors and report a
useful warning. It also adds a section about possible problems to the
of-platdata documentation.
Unfortunately the use of match-object subscripts is not supported in
Python 3.5 and earlier, so a patch is included to avoid this.
Finally, a short usage string it added to the help output, with dtoc being
converted to use ArgumentParser in the process.
Simon Glass (8):
  dtoc: Avoid using subscripts on match objects
  dtoc: Convert to use ArgumentParser
  dtoc: Allow multiple warnings for a driver
  dtoc: Correct the re_compat regular expression
  dtoc: Add a stdout check in test_normalized_name()
  dtoc: Detect unexpected suffix on .of_match
  dtoc: Detect drivers which do not parse correctly
  dtoc: Update documentation to cover warnings in more detail
 doc/develop/driver-model/of-plat.rst |  53 +++++++++++
 tools/dtoc/main.py                   |  51 +++++-----
 tools/dtoc/src_scan.py               |  45 +++++++--
 tools/dtoc/test_src_scan.py          | 133 ++++++++++++++++++++++++++-
 4 files changed, 247 insertions(+), 35 deletions(-)
-- 
2.32.0.93.g670b81a890-goog
    
    
More information about the U-Boot
mailing list