Explorar o código

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>
Marek Vasut %!s(int64=7) %!d(string=hai) anos
pai
achega
175c3e3ade
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      common/update.c

+ 1 - 0
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"