diff options
author | Tom Rini <trini@ti.com> | 2014-11-22 08:11:08 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-23 06:49:04 -0500 |
commit | 64553717bb3552f736090298ea952cb5ef07ef75 (patch) | |
tree | fe5147a8b418ffc41732f6a614ba96a90402fed6 /board/esd | |
parent | 794449551d342d9ec3bd619e7ab887f7faec7f2a (diff) |
board/esd/common/auto_update.c: Use <flash.h>
A number of prototypes here are now found in <flash.h>. use.
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'board/esd')
-rw-r--r-- | board/esd/common/auto_update.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/board/esd/common/auto_update.c b/board/esd/common/auto_update.c index b1680741e16..76fe857bb86 100644 --- a/board/esd/common/auto_update.c +++ b/board/esd/common/auto_update.c @@ -12,6 +12,7 @@ #include <image.h> #include <asm/byteorder.h> #include <fat.h> +#include <flash.h> #include <part.h> #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]; |