From 175c3e3ade134bf140da79193f41d4c4b8352626 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sat, 10 Feb 2018 16:22:07 +0100 Subject: [PATCH] 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 Cc: Tom Rini --- 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 #include #include +#include /* env variable holding the location of the update file */ #define UPDATE_FILE_ENV "updatefile"