/u-boot/drivers/mtd/ |
A D | stm32_flash.c | 13 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; variable 40 flash_info[i].flash_id = FLASH_STM32; in flash_init() 41 flash_info[i].sector_count = CONFIG_SYS_MAX_FLASH_SECT; in flash_init() 42 flash_info[i].start[0] = CONFIG_SYS_FLASH_BASE + (i << 20); in flash_init() 43 flash_info[i].size = sect_sz_kb[0]; in flash_init() 45 flash_info[i].start[j] = flash_info[i].start[j - 1] in flash_init() 47 flash_info[i].size += sect_sz_kb[j]; in flash_init() 49 total_size += flash_info[i].size; in flash_init() 87 if (info == &flash_info[i]) { in flash_erase()
|
A D | st_smi.c | 22 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; variable 139 flash_info_t *info = &flash_info[banknum]; in flash_get_size() 452 flash_info[i].flash_id = FLASH_UNKNOWN; in flash_init() 453 size += flash_info[i].size = flash_get_size(bank_base[i], i); in flash_init() 457 for (i = 1; i < flash_info[j].sector_count; i++) in flash_init() 458 flash_info[j].start[i] = in flash_init() 459 flash_info[j].start[i - 1] + in flash_init() 460 flash_info->size / flash_info->sector_count; in flash_init()
|
A D | pic32_flash.c | 51 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; variable 349 size += flash_info[bank].size; in flash_init() 401 for (idx = 0, info = &flash_info[0]; list < end;) { in pic32_flash_probe() 425 &flash_info[0]); in pic32_flash_probe() 433 &flash_info[0]); in pic32_flash_probe()
|
A D | cfi_flash.c | 124 return flash_info[i].base; in cfi_flash_bank_addr() 195 info = &flash_info[i]; in flash_get_info() 2402 size += flash_info[i].size; in flash_init() 2407 flash_info[i].size, in flash_init() 2408 flash_info[i].size >> 20); in flash_init() 2430 flash_info[i].legacy_unlock = 0; in flash_init() 2439 flash_info[i].legacy_unlock = 1; in flash_init() 2446 flash_info[i].protect[k] = 0; in flash_init() 2452 flash_info[i].start[0], in flash_init() 2453 flash_info[i].start[0] in flash_init() [all …]
|
A D | altera_qspi.c | 59 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* FLASH chips info */ variable 133 return flash_info[0].size; in flash_init() 312 flash_info_t *flash = &flash_info[0]; in altera_qspi_probe()
|
A D | renesas_rpc_hf.c | 382 flash_info[0].dev = dev; in rpc_hf_probe() 383 flash_info[0].base = flash_base; in rpc_hf_probe()
|
/u-boot/board/cobra5272/ |
A D | flash.c | 18 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; variable 69 flash_info[i].flash_id = in flash_init() 72 flash_info[i].size = FLASH_BANK_SIZE; in flash_init() 73 flash_info[i].sector_count = CONFIG_SYS_MAX_FLASH_SECT; in flash_init() 80 for (j = 0; j < flash_info[i].sector_count; j++) { in flash_init() 83 flash_info[i].start[j] = flashbase; in flash_init() 87 flash_info[i].start[j] = in flash_init() 92 flash_info[i].start[j] = flashbase + 0x8000; in flash_init() 96 flash_info[i].start[j] = in flash_init() 101 size += flash_info[i].size; in flash_init() [all …]
|
/u-boot/arch/arm/mach-at91/arm926ejs/ |
A D | eflash.c | 60 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; variable 72 flash_info[0].flash_id = FLASH_UNKNOWN; in flash_init() 103 flash_info[0].size = size; in flash_init() 104 flash_info[0].sector_count = nlocks; in flash_init() 105 flash_info[0].flash_id = id; in flash_init() 110 flash_info[0].start[i] = addr; in flash_init() 111 flash_info[0].protect[i] = 0; in flash_init() 119 for (i=0; i<flash_info[0].sector_count; i++) { in flash_init() 122 flash_info[0].protect[i] = (tmp >> (i%32)) & 1; in flash_init() 125 flash_info[0].protect[i] = 1; in flash_init()
|
/u-boot/cmd/ |
A D | flash.c | 103 info = &flash_info[bank]; in flash_sect_roundb() 205 for (bank=0,info = &flash_info[0]; in flash_fill_sect_ranges() 285 flash_print_info(&flash_info[bank]); in do_flinfo() 322 info = &flash_info[bank-1]; in do_flerase() 346 info = &flash_info[bank]; in do_flerase() 376 info = &flash_info[bank-1]; in do_flerase() 410 for (bank=0,info = &flash_info[0]; in flash_sect_erase() 470 info = &flash_info[bank-1]; in do_protect() 500 (info-flash_info)+1); in do_protect() 525 info = &flash_info[bank]; in do_protect() [all …]
|
A D | jffs2.c | 159 extern flash_info_t flash_info[]; in mtd_device_validate() 160 *size = flash_info[num].size; in mtd_device_validate() 263 extern flash_info_t flash_info[]; in get_part_sector_size_nor() 269 flash = &flash_info[id->num]; in get_part_sector_size_nor()
|
A D | bootm.c | 34 extern flash_info_t flash_info[]; /* info for FLASH chips */ 342 for (i = 0, info = &flash_info[0]; in do_imls_nor()
|
A D | cramfs.c | 41 # define OFFSET_ADJUSTMENT (flash_info[id.num].start[0])
|
/u-boot/board/socrates/ |
A D | socrates.c | 34 extern flash_info_t flash_info[]; /* FLASH chips info */ 112 &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]); in misc_init_r() 118 &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]); in misc_init_r() 124 &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]); in misc_init_r() 130 &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]); in misc_init_r()
|
/u-boot/drivers/mtd/spi/ |
A D | sf_internal.h | 19 struct flash_info { struct 73 extern const struct flash_info spi_nor_ids[];
|
A D | spi-nor-tiny.c | 204 const struct flash_info *info) in spi_nor_set_4byte_opcodes() 210 static inline int set_4byte(struct spi_nor *nor, const struct flash_info *info, in set_4byte() 369 static const struct flash_info *spi_nor_read_id(struct spi_nor *nor) in spi_nor_read_id() 373 const struct flash_info *info; in spi_nor_read_id() 594 const struct flash_info *info, in spi_nor_init_params() 656 static int spi_nor_setup(struct spi_nor *nor, const struct flash_info *info, in spi_nor_setup() 728 const struct flash_info *info = NULL; in spi_nor_scan()
|
/u-boot/board/freescale/m5253demo/ |
A D | flash.c | 38 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; variable 46 flash_get_size((FPWV *) fbase, &flash_info[0]); in flash_init() 47 flash_get_offsets((ulong) fbase, &flash_info[0]); in flash_init() 48 fbase += flash_info[0].size; in flash_init() 49 size += flash_info[0].size; in flash_init() 54 CONFIG_SYS_MONITOR_BASE + monitor_flash_len - 1, &flash_info[0]); in flash_init()
|
/u-boot/post/drivers/ |
A D | flash.c | 33 extern flash_info_t flash_info[]; 64 info = &flash_info[CONFIG_SYS_POST_FLASH_NUM]; in flash_post_test()
|
/u-boot/doc/ |
A D | README.ubispl | 100 get_flash_info(&flash_info); 102 info.peb_size = flash_info.peb_size; 116 info.vid_offset = flash_info.vid_offset; 117 info.leb_start = flash_info.data_offset; 124 info.peb_count = flash_info.peb_count - MY_NAND_NR_SPL_PEBS;
|
A D | README.JFFS2 | 25 There only one way for JFFS2 to find the disk. It uses the flash_info
|
/u-boot/board/atmel/at91sam9263ek/ |
A D | at91sam9263ek.c | 143 extern flash_info_t flash_info[]; 171 flash_size += flash_info[i].size; in lcd_show_board_info()
|
/u-boot/common/ |
A D | flash.c | 16 extern flash_info_t flash_info[]; /* info for FLASH chips */ 94 for (i=0, info = &flash_info[0]; i<CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) { in addr2info()
|
A D | update.c | 52 extern flash_info_t flash_info[]; 122 info = &flash_info[bank]; in update_flash_protect()
|
/u-boot/board/spear/x600/ |
A D | x600.c | 49 &flash_info[0]); in board_late_init()
|
/u-boot/include/linux/mtd/ |
A D | spi-nor.h | 256 struct flash_info; 313 const struct flash_info *info;
|
/u-boot/fs/cramfs/ |
A D | cramfs.c | 46 extern flash_info_t flash_info[]; 48 flash_info[x->dev->id->num].start[0])
|