Lines Matching refs:flash_info_t
55 } flash_info_t; typedef
57 extern flash_info_t flash_info[]; /* info for FLASH chips */
89 extern void flash_print_info (flash_info_t *);
90 extern int flash_erase (flash_info_t *, int, int);
94 extern unsigned long flash_sector_size(flash_info_t *info, flash_sect_t sect);
98 extern void flash_protect (int flag, ulong from, ulong to, flash_info_t *info);
100 extern flash_info_t *addr2info (ulong);
101 extern int write_buff (flash_info_t *info, uchar *src, ulong addr, ulong cnt);
110 extern int flash_real_protect(flash_info_t *info, long sector, int prot);
111 extern void flash_read_user_serial(flash_info_t * info, void * buffer, int offset, int len);
112 extern void flash_read_factory_serial(flash_info_t * info, void * buffer, int offset, int len);
116 extern ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info);
117 extern int jedec_flash_match(flash_info_t *info, ulong base);