[PATCH v2 11/14] test: Move common FIT code into a separate fit_util file
Simon Glass
sjg at chromium.org
Mon Oct 17 23:30:07 CEST 2022
To avoid duplicating code, create a new fit_util module which provides
various utility functions for FIT. Move this code out from the existing
test_fit.py and refactor it with addition parameters.
Fix up pylint warnings in the conversion.
This involves no functional change.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
test/boot/bootstd_common.c | 21 ++++-----
test/py/tests/fit_util.py | 90 ++++++++++++++++++++++++++++++++++++++
test/py/tests/test_fit.py | 79 ++++-----------------------------
3 files changed, 110 insertions(+), 80 deletions(-)
create mode 100644 test/py/tests/fit_util.py
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list