Home
last modified time | relevance | path

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

12

/external/u-boot/include/
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);
110 extern void flash_read_user_serial(flash_info_t * info, void * buffer, int offset, int len);
[all …]
/external/u-boot/drivers/mtd/
Dcfi_flash.c62 flash_info_t flash_info[CFI_MAX_FLASH_BANKS]; /* FLASH chips info */
181 static flash_info_t *flash_get_info(ulong base) in flash_get_info()
184 flash_info_t *info; in flash_get_info()
197 unsigned long flash_sector_size(flash_info_t *info, flash_sect_t sect) in flash_sector_size()
209 flash_map(flash_info_t *info, flash_sect_t sect, uint offset) in flash_map()
216 static inline void flash_unmap(flash_info_t *info, flash_sect_t sect, in flash_unmap()
224 static void flash_make_cmd(flash_info_t *info, u32 cmd, void *cmdbuf) in flash_make_cmd()
288 static inline uchar flash_read_uchar(flash_info_t *info, uint offset) in flash_read_uchar()
306 static inline ushort flash_read_word(flash_info_t *info, uint offset) in flash_read_word()
320 static ulong flash_read_long (flash_info_t *info, flash_sect_t sect, in flash_read_long()
[all …]
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()
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()
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()
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()
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()
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()
/external/u-boot/board/freescale/m5253demo/
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()
/external/u-boot/common/
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()
Dupdate.c48 extern flash_info_t flash_info[];
105 flash_info_t *info; in update_flash_protect()
/external/u-boot/arch/arm/mach-at91/arm926ejs/
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()
/external/u-boot/cmd/
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()
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()
Darmflash.c23 flash_info_t *flinfo;
62 flash_info_t *info; in parse_bank()
Dbootm.c32 extern flash_info_t flash_info[]; /* info for FLASH chips */
324 flash_info_t *info; in do_imls_nor()
/external/u-boot/doc/
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)
/external/u-boot/board/cobra5272/
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()
/external/u-boot/board/pb1x00/
Dflash.c9 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */
22 int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt) in write_buff()
/external/u-boot/post/drivers/
Dflash.c33 extern flash_info_t flash_info[];
57 flash_info_t *info; in flash_post_test()
/external/u-boot/board/AndesTech/adp-ae3xx/
Dadp-ae3xx.c65 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy()
/external/u-boot/board/AndesTech/adp-ag101p/
Dadp-ag101p.c72 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy()
/external/u-boot/board/AndesTech/ax25-ae350/
Dax25-ae350.c64 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy()
/external/u-boot/board/shmin/
Dshmin.c47 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy()
/external/u-boot/include/mtd/
Dcfi_flash.h170 void flash_cmd_reset(flash_info_t *info);

12