]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
board/esd/common/auto_update.c: Use <flash.h>
authorTom Rini <trini@ti.com>
Sat, 22 Nov 2014 13:11:08 +0000 (08:11 -0500)
committerTom Rini <trini@ti.com>
Sun, 23 Nov 2014 11:49:04 +0000 (06:49 -0500)
A number of prototypes here are now found in <flash.h>. use.

Signed-off-by: Tom Rini <trini@ti.com>
board/esd/common/auto_update.c

index b1680741e16b29202089e12378b45eb3df92e3c5..76fe857bb8666c26cf14f0b6a1e655d2134b98ad 100644 (file)
@@ -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];