[U-Boot] [PATCH V2] Fix build errors after making flash_get_info() non-static