[PATCH 16/24] qconfig: Add a return value to do_find_config()

Simon Glass sjg at chromium.org
Fri Jul 26 14:58:59 CEST 2024


Return an exit code so we can use this function like do_tests().
Refactor the caller to handle this.

Reduce the size of main() by putting this code into its own function.

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

 tools/qconfig.py | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list