mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-04 18:13:31 +08:00
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>
This commit is contained in:
parent
794449551d
commit
64553717bb
@ -12,6 +12,7 @@
|
|||||||
#include <image.h>
|
#include <image.h>
|
||||||
#include <asm/byteorder.h>
|
#include <asm/byteorder.h>
|
||||||
#include <fat.h>
|
#include <fat.h>
|
||||||
|
#include <flash.h>
|
||||||
#include <part.h>
|
#include <part.h>
|
||||||
|
|
||||||
#include "auto_update.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);
|
extern long file_fat_read(const char *, void *, unsigned long);
|
||||||
long do_fat_read (const char *filename, void *buffer,
|
long do_fat_read (const char *filename, void *buffer,
|
||||||
unsigned long maxsize, int dols);
|
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];
|
extern block_dev_desc_t ide_dev_desc[CONFIG_SYS_IDE_MAXDEVICE];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user