Lines Matching refs:flash_info_t
54 } flash_info_t; typedef
56 extern flash_info_t flash_info[]; /* info for FLASH chips */
88 extern void flash_print_info (flash_info_t *);
89 extern int flash_erase (flash_info_t *, int, int);
93 extern unsigned long flash_sector_size(flash_info_t *info, flash_sect_t sect);
97 extern void flash_protect (int flag, ulong from, ulong to, flash_info_t *info);
99 extern flash_info_t *addr2info (ulong);
100 extern int write_buff (flash_info_t *info, uchar *src, ulong addr, ulong cnt);
109 extern int flash_real_protect(flash_info_t *info, long sector, int prot);
110 extern void flash_read_user_serial(flash_info_t * info, void * buffer, int offset, int len);
111 extern void flash_read_factory_serial(flash_info_t * info, void * buffer, int offset, int len);
115 extern ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info);
116 extern int jedec_flash_match(flash_info_t *info, ulong base);