diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/cfi_flash.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/cfi_flash.h b/include/cfi_flash.h index 2e8e6d7634..22e3fca35c 100644 --- a/include/cfi_flash.h +++ b/include/cfi_flash.h @@ -81,20 +81,6 @@ typedef struct { /* convert between bit value and numeric value */ #define CFI_FLASH_SHIFT_WIDTH 3 -/* Prototypes */ - -void flash_print_info (flash_info_t *); -int flash_sect_erase (ulong addr_first, ulong addr_last); -int flash_sect_protect (int flag, ulong addr_first, ulong addr_last); - -void flash_protect (int flag, ulong from, ulong to, flash_info_t *info); -int flash_write (char *, ulong, ulong); -flash_info_t *addr2info (ulong); -int write_buff (flash_info_t *info, const uchar *src, ulong addr, ulong cnt); - -int flash_real_protect(flash_info_t *info, long sector, int prot); -void flash_read_user_serial(flash_info_t * info, void * buffer, int offset, int len); -void flash_read_factory_serial(flash_info_t * info, void * buffer, int offset, int len); /*----------------------------------------------------------------------- * return codes from flash_write(): |