[U-Boot] [PATCH 3/5] api: Flush cache when closing api