[U-Boot] [PATCH] api: Fix building with CONFIG_API