[U-Boot] [PATCH 3/3] tftp: update: Include missing cfi_flash.h header
Marek Vasut
marek.vasut at gmail.com
Sat Feb 10 15:22:07 UTC 2018
Add the missing header, otherwise CONFIG_SYS_MAX_FLASH_BANKS
may be undeclared.
Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
Cc: Tom Rini <trini at konsulko.com>
---
common/update.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/update.c b/common/update.c
index 33bffaa89e..ef61790f4b 100644
--- a/common/update.c
+++ b/common/update.c
@@ -24,6 +24,7 @@
#include <malloc.h>
#include <dfu.h>
#include <errno.h>
+#include <mtd/cfi_flash.h>
/* env variable holding the location of the update file */
#define UPDATE_FILE_ENV "updatefile"
--
2.15.1
More information about the U-Boot
mailing list