Commit 64553717bb3552f736090298ea952cb5ef07ef75
1 parent
794449551d
Exists in
v2017.01-smarct4x
and in
37 other branches
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>
Showing 1 changed file with 1 additions and 3 deletions Side-by-side Diff
board/esd/common/auto_update.c
... | ... | @@ -12,6 +12,7 @@ |
12 | 12 | #include <image.h> |
13 | 13 | #include <asm/byteorder.h> |
14 | 14 | #include <fat.h> |
15 | +#include <flash.h> | |
15 | 16 | #include <part.h> |
16 | 17 | |
17 | 18 | #include "auto_update.h" |
... | ... | @@ -35,9 +36,6 @@ |
35 | 36 | extern long file_fat_read(const char *, void *, unsigned long); |
36 | 37 | long do_fat_read (const char *filename, void *buffer, |
37 | 38 | unsigned long maxsize, int dols); |
38 | -extern int flash_sect_erase(ulong, ulong); | |
39 | -extern int flash_sect_protect (int, ulong, ulong); | |
40 | -extern int flash_write (char *, ulong, ulong); | |
41 | 39 | |
42 | 40 | extern block_dev_desc_t ide_dev_desc[CONFIG_SYS_IDE_MAXDEVICE]; |
43 | 41 |