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 | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) Applied to u-boot-dm, thanks!