]> Git Repo - u-boot.git/commitdiff
tftp: update: Include missing cfi_flash.h header
authorMarek Vasut <[email protected]>
Sat, 10 Feb 2018 15:22:07 +0000 (16:22 +0100)
committerTom Rini <[email protected]>
Wed, 14 Feb 2018 01:34:07 +0000 (20:34 -0500)
Add the missing header, otherwise CONFIG_SYS_MAX_FLASH_BANKS
may be undeclared.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Tom Rini <[email protected]>
common/update.c

index 33bffaa89eca52014e88fdab626912be8f55bbdf..ef61790f4bc83e190ed5dc10ad4161bd71ba55cf 100644 (file)
@@ -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"
This page took 0.028044 seconds and 4 git commands to generate.