[U-Boot] [PATCH v2] net: mvgbe: extract common code for SMI wait