Home
last modified time | relevance | path

Searched refs:flash_info_t (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/u-boot/include/
H A Dflash.h54 } 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 Dflash.c14 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 Dupdate.c48 extern flash_info_t flash_info[];
105 flash_info_t *info; in update_flash_protect()
/openbmc/u-boot/board/freescale/m5253demo/
H A Dflash.c30 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 Dcfi_flash.c181 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 Dcfi_mtd.c25 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 Dpic32_flash.c46 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 Dstm32_flash.c12 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 Dst_smi.c21 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 Daltera_qspi.c56 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 Djedec_flash.c405 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 Deflash.c58 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 DREADME.cfi4 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 Dflash.c13 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 Dflash.c26 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 Djffs2.c155 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 Darmflash.c23 flash_info_t *flinfo;
62 flash_info_t *info; in parse_bank()
H A Dbootm.c32 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 Dflash.c33 extern flash_info_t flash_info[];
57 flash_info_t *info; in flash_post_test()
/openbmc/u-boot/board/AndesTech/adp-ag101p/
H A Dadp-ag101p.c72 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 Dadp-ae3xx.c65 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 Dax25-ae350.c63 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 Dshmin.c47 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 Dcfi_flash.h170 void flash_cmd_reset(flash_info_t *info);
/openbmc/u-boot/board/atmel/at91sam9263ek/
H A Dat91sam9263ek.c138 extern flash_info_t flash_info[];

12