/openbmc/u-boot/include/ |
H A D | flash.h | 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); 115 extern ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info); [all …]
|
/openbmc/u-boot/common/ |
H A D | flash.c | 14 extern flash_info_t flash_info[]; /* info for FLASH chips */ 27 flash_protect (int flag, ulong from, ulong to, flash_info_t *info) in flash_protect() 86 flash_info_t * 89 flash_info_t *info; in addr2info() 126 flash_info_t *info_first = addr2info (addr); in flash_write() 127 flash_info_t *info_last = addr2info (end ); in flash_write() 128 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()
|
/openbmc/u-boot/board/freescale/m5253demo/ |
H A D | flash.c | 30 ulong flash_get_size(FPWV * addr, flash_info_t * info); 31 int flash_get_offsets(ulong base, flash_info_t * info); 32 int write_word(flash_info_t * info, FPWV * dest, u16 data); 35 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; 56 int flash_get_offsets(ulong base, flash_info_t * info) in flash_get_offsets() 74 void flash_print_info(flash_info_t * info) in flash_print_info() 128 ulong flash_get_size(FPWV * addr, flash_info_t * info) in flash_get_size() 177 int flash_erase(flash_info_t * info, int s_first, int s_last) in flash_erase() 318 int write_buff(flash_info_t * info, uchar * src, ulong addr, ulong cnt) in write_buff() 398 int write_word(flash_info_t * info, FPWV * dest, u16 data) in write_word()
|
/openbmc/u-boot/drivers/mtd/ |
H A D | cfi_flash.c | 181 static flash_info_t *flash_get_info(ulong base) in flash_get_info() 184 flash_info_t *info; in flash_get_info() 649 static int use_flash_status_poll(flash_info_t *info) in use_flash_status_poll() 1182 static int sector_erased(flash_info_t *info, int i) in sector_erased() 1205 void flash_print_info(flash_info_t *info) in flash_print_info() 1694 static void cmdset_amd_read_jedec_ids(flash_info_t *info) in cmdset_amd_read_jedec_ids() 1775 static void flash_read_jedec_ids(flash_info_t *info) in flash_read_jedec_ids() 1803 flash_info_t *info = &flash_info[banknum]; in flash_detect_legacy() 1881 static void __flash_cmd_reset(flash_info_t *info) in __flash_cmd_reset() 1893 void flash_cmd_reset(flash_info_t *info) [all …]
|
H A D | cfi_mtd.c | 25 flash_info_t *fi = mtd->priv; in cfi_mtd_erase() 70 flash_info_t *fi = mtd->priv; in cfi_mtd_read() 82 flash_info_t *fi = mtd->priv; in cfi_mtd_write() 109 flash_info_t *fi = mtd->priv; in cfi_mtd_lock() 121 flash_info_t *fi = mtd->priv; in cfi_mtd_unlock() 131 static int cfi_mtd_set_erasesize(struct mtd_info *mtd, flash_info_t *fi) in cfi_mtd_set_erasesize() 205 flash_info_t *fi; in cfi_mtd_init()
|
H A D | pic32_flash.c | 46 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; 105 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() 176 int page_erase(flash_info_t *info, int sect) in page_erase() 182 static int write_word(flash_info_t *info, ulong dest, ulong word) in write_word() 222 int write_buff(flash_info_t *info, uchar *src, ulong addr, ulong cnt) in write_buff() 289 void flash_print_info(flash_info_t *info) in flash_print_info() 349 static void pic32_flash_bank_init(flash_info_t *info, in pic32_flash_bank_init() 378 flash_info_t *info; in pic32_flash_probe()
|
H A D | stm32_flash.c | 12 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; 54 void flash_print_info(flash_info_t *info) in flash_print_info() 80 int flash_erase(flash_info_t *info, int first, int last) in flash_erase() 126 int write_buff(flash_info_t *info, uchar *src, ulong addr, ulong cnt) in write_buff()
|
H A D | st_smi.c | 21 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; 108 static unsigned int smi_read_id(flash_info_t *info, int banknum) in smi_read_id() 138 flash_info_t *info = &flash_info[banknum]; in flash_get_size() 288 static int smi_sector_erase(flash_info_t *info, unsigned int sector) in smi_sector_erase() 432 int write_buff(flash_info_t *info, uchar *src, ulong dest_addr, ulong length) in write_buff() 471 void flash_print_info(flash_info_t *info) in flash_print_info() 531 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase()
|
H A D | altera_qspi.c | 56 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* FLASH chips info */ 61 void flash_print_info(flash_info_t *info) in flash_print_info() 83 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() 103 int write_buff(flash_info_t *info, uchar *src, ulong addr, ulong cnt) in write_buff() 309 flash_info_t *flash = &flash_info[0]; in altera_qspi_probe()
|
H A D | jedec_flash.c | 405 static inline void fill_info(flash_info_t *info, const struct amd_flash_info *jedec_entry, ulong ba… in fill_info() 475 int jedec_flash_match(flash_info_t *info, ulong base) in jedec_flash_match()
|
/openbmc/u-boot/arch/arm/mach-at91/arm926ejs/ |
H A D | eflash.c | 58 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; 130 void flash_print_info (flash_info_t *info) in flash_print_info() 151 int flash_real_protect (flash_info_t *info, long sector, int prot) in flash_real_protect() 205 int flash_erase (flash_info_t *info, int s_first, int s_last) in flash_erase() 218 int write_buff (flash_info_t *info, uchar *src, ulong addr, ulong cnt) in write_buff()
|
/openbmc/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)
|
/openbmc/u-boot/board/cobra5272/ |
H A D | flash.c | 13 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; 15 void flash_print_info (flash_info_t * info) in flash_print_info() 128 int flash_erase (flash_info_t * info, int s_first, int s_last) in flash_erase() 245 static int write_word (flash_info_t * info, ulong dest, ulong data) in write_word() 312 int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt) in write_buff()
|
/openbmc/u-boot/cmd/ |
H A D | flash.c | 26 extern flash_info_t flash_info[]; /* info for FLASH chips */ 48 abbrev_spec (char *str, flash_info_t ** pinfo, int *psf, int *psl) in abbrev_spec() 50 flash_info_t *fp; in abbrev_spec() 93 flash_info_t *info; in flash_sect_roundb() 192 flash_info_t *info; in flash_fill_sect_ranges() 302 flash_info_t *info = NULL; in do_flerase() 395 flash_info_t *info; in flash_sect_erase() 436 flash_info_t *info = NULL; in do_protect() 591 flash_info_t *info; in flash_sect_protect()
|
H A D | jffs2.c | 155 extern flash_info_t flash_info[]; in mtd_device_validate() 259 extern flash_info_t flash_info[]; in get_part_sector_size_nor() 263 flash_info_t *flash; in get_part_sector_size_nor()
|
H A D | armflash.c | 23 flash_info_t *flinfo; 62 flash_info_t *info; in parse_bank()
|
H A D | bootm.c | 32 extern flash_info_t flash_info[]; /* info for FLASH chips */ 327 flash_info_t *info; in do_imls_nor()
|
/openbmc/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()
|
/openbmc/u-boot/board/AndesTech/adp-ag101p/ |
H A D | adp-ag101p.c | 72 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy()
|
/openbmc/u-boot/board/AndesTech/adp-ae3xx/ |
H A D | adp-ae3xx.c | 65 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy()
|
/openbmc/u-boot/board/AndesTech/ax25-ae350/ |
H A D | ax25-ae350.c | 63 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy()
|
/openbmc/u-boot/board/shmin/ |
H A D | shmin.c | 47 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy()
|
/openbmc/u-boot/include/mtd/ |
H A D | cfi_flash.h | 170 void flash_cmd_reset(flash_info_t *info);
|
/openbmc/u-boot/board/atmel/at91sam9263ek/ |
H A D | at91sam9263ek.c | 138 extern flash_info_t flash_info[];
|