[U-Boot] [PATCH 5/7] tools/genboardscfg.py: fix minor problems on termination