summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2018-02-10 16:22:07 +0100
committerTom Rini <trini@konsulko.com>2018-02-13 20:34:07 -0500
commit175c3e3ade134bf140da79193f41d4c4b8352626 (patch)
tree8dafe8e644754b64a1663664603159d7cc39aadd
parentb254c5291dab99bc1f5ea01a65472af297338f87 (diff)
tftp: update: Include missing cfi_flash.h header
Add the missing header, otherwise CONFIG_SYS_MAX_FLASH_BANKS may be undeclared. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Tom Rini <trini@konsulko.com>
-rw-r--r--common/update.c1
1 files changed, 1 insertions, 0 deletions
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"