]> git.baikalelectronics.ru Git - uboot.git/commit
test: Move common FIT code into a separate fit_util file
authorSimon Glass <sjg@chromium.org>
Tue, 11 Oct 2022 15:47:17 +0000 (09:47 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Oct 2022 03:17:13 +0000 (21:17 -0600)
commit000bd0512a6f7fb5c3dbfbe7facc9707c0d5d53f
tree71b2f1a627e28acebe7916d3c810463e58ff5af0
parentd6e1bc2231e455423d76a04042a6a1ddd53b2271
test: Move common FIT code into a separate fit_util file

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@chromium.org>
test/boot/bootstd_common.c
test/py/tests/fit_util.py [new file with mode: 0644]
test/py/tests/test_fit.py