]> git.dujemihanovic.xyz Git - u-boot.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)
commita753190a0c544d211faf13a296bd80e830150158
tree71b2f1a627e28acebe7916d3c810463e58ff5af0
parent87c97cb1f9a45567488edd260539467b7b1a869a
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