[U-Boot] [PATCH v2 37/41] common: Move some board functions out of common.h