[U-Boot] [RFC PATCH 2/2] tools: make genboardscfg.py compatible with Python2.5