| /OK3568_Linux_fs/u-boot/include/ |
| H A D | flash.h | 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); [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/ |
| H A D | cfi_flash.c | 63 flash_info_t flash_info[CFI_MAX_FLASH_BANKS]; /* FLASH chips info */ 182 static flash_info_t *flash_get_info(ulong base) in flash_get_info() 185 flash_info_t *info; in flash_get_info() 198 unsigned long flash_sector_size(flash_info_t *info, flash_sect_t sect) in flash_sector_size() 210 flash_map(flash_info_t *info, flash_sect_t sect, uint offset) in flash_map() 217 static inline void flash_unmap(flash_info_t *info, flash_sect_t sect, in flash_unmap() 225 static void flash_make_cmd(flash_info_t *info, u32 cmd, void *cmdbuf) in flash_make_cmd() 289 static inline uchar flash_read_uchar(flash_info_t *info, uint offset) in flash_read_uchar() 307 static inline ushort flash_read_word(flash_info_t *info, uint offset) in flash_read_word() 321 static ulong flash_read_long (flash_info_t *info, flash_sect_t sect, in flash_read_long() [all …]
|
| H A D | cfi_mtd.c | 26 flash_info_t *fi = mtd->priv; in cfi_mtd_erase() 71 flash_info_t *fi = mtd->priv; in cfi_mtd_read() 83 flash_info_t *fi = mtd->priv; in cfi_mtd_write() 110 flash_info_t *fi = mtd->priv; in cfi_mtd_lock() 122 flash_info_t *fi = mtd->priv; in cfi_mtd_unlock() 132 static int cfi_mtd_set_erasesize(struct mtd_info *mtd, flash_info_t *fi) in cfi_mtd_set_erasesize() 206 flash_info_t *fi; in cfi_mtd_init()
|
| H A D | pic32_flash.c | 47 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; 106 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() 177 int page_erase(flash_info_t *info, int sect) in page_erase() 183 static int write_word(flash_info_t *info, ulong dest, ulong word) in write_word() 223 int write_buff(flash_info_t *info, uchar *src, ulong addr, ulong cnt) in write_buff() 290 void flash_print_info(flash_info_t *info) in flash_print_info() 350 static void pic32_flash_bank_init(flash_info_t *info, in pic32_flash_bank_init() 379 flash_info_t *info; in pic32_flash_probe()
|
| H A D | st_smi.c | 22 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; 109 static unsigned int smi_read_id(flash_info_t *info, int banknum) in smi_read_id() 139 flash_info_t *info = &flash_info[banknum]; in flash_get_size() 289 static int smi_sector_erase(flash_info_t *info, unsigned int sector) in smi_sector_erase() 433 int write_buff(flash_info_t *info, uchar *src, ulong dest_addr, ulong length) in write_buff() 472 void flash_print_info(flash_info_t *info) in flash_print_info() 532 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase()
|
| H A D | stm32_flash.c | 13 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; 55 void flash_print_info(flash_info_t *info) in flash_print_info() 81 int flash_erase(flash_info_t *info, int first, int last) in flash_erase() 127 int write_buff(flash_info_t *info, uchar *src, ulong addr, ulong cnt) in write_buff()
|
| H A D | altera_qspi.c | 57 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* FLASH chips info */ 62 void flash_print_info(flash_info_t *info) in flash_print_info() 84 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() 104 int write_buff(flash_info_t *info, uchar *src, ulong addr, ulong cnt) in write_buff() 310 flash_info_t *flash = &flash_info[0]; in altera_qspi_probe()
|
| H A D | jedec_flash.c | 406 static inline void fill_info(flash_info_t *info, const struct amd_flash_info *jedec_entry, ulong ba… in fill_info() 476 int jedec_flash_match(flash_info_t *info, ulong base) in jedec_flash_match()
|
| /OK3568_Linux_fs/u-boot/board/freescale/m5253demo/ |
| H A D | flash.c | 31 ulong flash_get_size(FPWV * addr, flash_info_t * info); 32 int flash_get_offsets(ulong base, flash_info_t * info); 33 int write_word(flash_info_t * info, FPWV * dest, u16 data); 36 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; 57 int flash_get_offsets(ulong base, flash_info_t * info) in flash_get_offsets() 75 void flash_print_info(flash_info_t * info) in flash_print_info() 129 ulong flash_get_size(FPWV * addr, flash_info_t * info) in flash_get_size() 178 int flash_erase(flash_info_t * info, int s_first, int s_last) in flash_erase() 319 int write_buff(flash_info_t * info, uchar * src, ulong addr, ulong cnt) in write_buff() 399 int write_word(flash_info_t * info, FPWV * dest, u16 data) in write_word()
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | flash.c | 15 extern flash_info_t flash_info[]; /* info for FLASH chips */ 28 flash_protect (int flag, ulong from, ulong to, flash_info_t *info) in flash_protect() 87 flash_info_t * 90 flash_info_t *info; in addr2info() 127 flash_info_t *info_first = addr2info (addr); in flash_write() 128 flash_info_t *info_last = addr2info (end ); in flash_write() 129 flash_info_t *info; in flash_write()
|
| H A D | update.c | 48 extern flash_info_t flash_info[]; 105 flash_info_t *info; in update_flash_protect()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-at91/arm926ejs/ |
| H A D | eflash.c | 59 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; 131 void flash_print_info (flash_info_t *info) in flash_print_info() 152 int flash_real_protect (flash_info_t *info, long sector, int prot) in flash_real_protect() 206 int flash_erase (flash_info_t *info, int s_first, int s_last) in flash_erase() 219 int write_buff (flash_info_t *info, uchar *src, ulong addr, ulong cnt) in write_buff()
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | flash.c | 27 extern flash_info_t flash_info[]; /* info for FLASH chips */ 49 abbrev_spec (char *str, flash_info_t ** pinfo, int *psf, int *psl) in abbrev_spec() 51 flash_info_t *fp; in abbrev_spec() 94 flash_info_t *info; in flash_sect_roundb() 193 flash_info_t *info; in flash_fill_sect_ranges() 303 flash_info_t *info = NULL; in do_flerase() 396 flash_info_t *info; in flash_sect_erase() 437 flash_info_t *info = NULL; in do_protect() 592 flash_info_t *info; in flash_sect_protect()
|
| H A D | jffs2.c | 156 extern flash_info_t flash_info[]; in mtd_device_validate() 260 extern flash_info_t flash_info[]; in get_part_sector_size_nor() 264 flash_info_t *flash; in get_part_sector_size_nor()
|
| H A D | armflash.c | 24 flash_info_t *flinfo; 63 flash_info_t *info; in parse_bank()
|
| H A D | bootm.c | 33 extern flash_info_t flash_info[]; /* info for FLASH chips */ 328 flash_info_t *info; in do_imls_nor()
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.cfi | 4 static void __flash_cmd_reset(flash_info_t *info) 15 void flash_cmd_reset(flash_info_t *info) 28 void flash_cmd_reset(flash_info_t *info) 35 void flash_cmd_reset(flash_info_t *info)
|
| /OK3568_Linux_fs/u-boot/board/cobra5272/ |
| H A D | flash.c | 14 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; 16 void flash_print_info (flash_info_t * info) in flash_print_info() 129 int flash_erase (flash_info_t * info, int s_first, int s_last) in flash_erase() 246 static int write_word (flash_info_t * info, ulong dest, ulong data) in write_word() 313 int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt) in write_buff()
|
| /OK3568_Linux_fs/u-boot/board/pb1x00/ |
| H A D | flash.c | 10 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */ 23 int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt) in write_buff()
|
| /OK3568_Linux_fs/u-boot/post/drivers/ |
| H A D | flash.c | 33 extern flash_info_t flash_info[]; 57 flash_info_t *info; in flash_post_test()
|
| /OK3568_Linux_fs/u-boot/board/AndesTech/adp-ag101p/ |
| H A D | adp-ag101p.c | 74 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy()
|
| /OK3568_Linux_fs/u-boot/board/AndesTech/adp-ae3xx/ |
| H A D | adp-ae3xx.c | 66 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy()
|
| /OK3568_Linux_fs/u-boot/board/shmin/ |
| H A D | shmin.c | 48 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy()
|
| /OK3568_Linux_fs/u-boot/include/mtd/ |
| H A D | cfi_flash.h | 171 void flash_cmd_reset(flash_info_t *info);
|
| /OK3568_Linux_fs/u-boot/board/atmel/at91sam9263ek/ |
| H A D | at91sam9263ek.c | 139 extern flash_info_t flash_info[];
|