[PATCH 4/7] dtoc: Move main program into its own function

Simon Glass sjg at chromium.org
Sun Aug 7 15:10:33 CEST 2022


Use a function for the main program so everything there doesn't look like
a global variable to pylint.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/dtoc/test_fdt.py | 44 +++++++++++++++++++++++-------------------
 1 file changed, 24 insertions(+), 20 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list