Lines Matching refs:flash_info_t
53 } flash_info_t; typedef
55 extern flash_info_t flash_info[]; /* info for FLASH chips */
87 void flash_print_info(flash_info_t *info);
88 int flash_erase(flash_info_t *info, int s_first, int s_last);
92 unsigned long flash_sector_size(flash_info_t *info, flash_sect_t sect);
93 void flash_cmd_reset(flash_info_t *info);
97 void flash_protect(int flag, ulong from, ulong to, flash_info_t *info);
99 flash_info_t *addr2info(ulong addr);
100 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);