[U-Boot] [PATCH v3 38/42] common: Move some board functions out of common.h