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