projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b254c52
)
tftp: update: Include missing cfi_flash.h header
author
Marek Vasut
<marek.vasut@gmail.com>
Sat, 10 Feb 2018 15:22:07 +0000
(16:22 +0100)
committer
Tom Rini
<trini@konsulko.com>
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 <marek.vasut+renesas@gmail.com>
Cc: Tom Rini <trini@konsulko.com>
common/update.c
patch
|
blob
|
history
diff --git
a/common/update.c
b/common/update.c
index 33bffaa89eca52014e88fdab626912be8f55bbdf..ef61790f4bc83e190ed5dc10ad4161bd71ba55cf 100644
(file)
--- 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"