[U-Boot] Adding the API functionality