From: Tom Rini Date: Sat, 22 Nov 2014 13:11:08 +0000 (-0500) Subject: board/esd/common/auto_update.c: Use X-Git-Tag: v2015.01-rc2~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=64553717bb3552f736090298ea952cb5ef07ef75;p=u-boot board/esd/common/auto_update.c: Use A number of prototypes here are now found in . use. Signed-off-by: Tom Rini --- diff --git a/board/esd/common/auto_update.c b/board/esd/common/auto_update.c index b1680741e1..76fe857bb8 100644 --- a/board/esd/common/auto_update.c +++ b/board/esd/common/auto_update.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include "auto_update.h" @@ -35,9 +36,6 @@ extern int file_fat_detectfs(void); extern long file_fat_read(const char *, void *, unsigned long); long do_fat_read (const char *filename, void *buffer, unsigned long maxsize, int dols); -extern int flash_sect_erase(ulong, ulong); -extern int flash_sect_protect (int, ulong, ulong); -extern int flash_write (char *, ulong, ulong); extern block_dev_desc_t ide_dev_desc[CONFIG_SYS_IDE_MAXDEVICE];