Home
last modified time | relevance | path

Searched refs:flash_info (Results 1 – 25 of 36) sorted by relevance

12

/external/u-boot/drivers/mtd/
Dstm32_flash.c12 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; variable
39 flash_info[i].flash_id = FLASH_STM32; in flash_init()
40 flash_info[i].sector_count = CONFIG_SYS_MAX_FLASH_SECT; in flash_init()
41 flash_info[i].start[0] = CONFIG_SYS_FLASH_BASE + (i << 20); in flash_init()
42 flash_info[i].size = sect_sz_kb[0]; in flash_init()
44 flash_info[i].start[j] = flash_info[i].start[j - 1] in flash_init()
46 flash_info[i].size += sect_sz_kb[j]; in flash_init()
48 total_size += flash_info[i].size; in flash_init()
86 if (info == &flash_info[i]) { in flash_erase()
Dst_smi.c21 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; variable
138 flash_info_t *info = &flash_info[banknum]; in flash_get_size()
451 flash_info[i].flash_id = FLASH_UNKNOWN; in flash_init()
452 size += flash_info[i].size = flash_get_size(bank_base[i], i); in flash_init()
456 for (i = 1; i < flash_info[j].sector_count; i++) in flash_init()
457 flash_info[j].start[i] = in flash_init()
458 flash_info[j].start[i - 1] + in flash_init()
459 flash_info->size / flash_info->sector_count; in flash_init()
Dpic32_flash.c48 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; variable
346 size += flash_info[bank].size; in flash_init()
398 for (idx = 0, info = &flash_info[0]; list < end;) { in pic32_flash_probe()
422 &flash_info[0]); in pic32_flash_probe()
430 &flash_info[0]); in pic32_flash_probe()
Dcfi_flash.c64 flash_info_t flash_info[CFI_MAX_FLASH_BANKS]; /* FLASH chips info */ variable
119 return flash_info[i].base; in cfi_flash_bank_addr()
190 info = &flash_info[i]; in flash_get_info()
1806 flash_info_t *info = &flash_info[banknum]; in flash_detect_legacy()
2073 flash_info_t *info = &flash_info[banknum]; in flash_get_size()
2389 flash_info[i].flash_id = FLASH_UNKNOWN; in flash_init()
2397 size += flash_info[i].size; in flash_init()
2398 if (flash_info[i].flash_id == FLASH_UNKNOWN) { in flash_init()
2402 flash_info[i].size, in flash_init()
2403 flash_info[i].size >> 20); in flash_init()
[all …]
Daltera_qspi.c56 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* FLASH chips info */ variable
130 return flash_info[0].size; in flash_init()
309 flash_info_t *flash = &flash_info[0]; in altera_qspi_probe()
Drenesas_rpc_hf.c378 flash_info[0].dev = dev; in rpc_hf_probe()
379 flash_info[0].base = flash_base; in rpc_hf_probe()
/external/u-boot/board/cobra5272/
Dflash.c15 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; variable
66 flash_info[i].flash_id = in flash_init()
69 flash_info[i].size = FLASH_BANK_SIZE; in flash_init()
70 flash_info[i].sector_count = CONFIG_SYS_MAX_FLASH_SECT; in flash_init()
71 memset (flash_info[i].protect, 0, CONFIG_SYS_MAX_FLASH_SECT); in flash_init()
77 for (j = 0; j < flash_info[i].sector_count; j++) { in flash_init()
80 flash_info[i].start[j] = flashbase; in flash_init()
84 flash_info[i].start[j] = in flash_init()
89 flash_info[i].start[j] = flashbase + 0x8000; in flash_init()
93 flash_info[i].start[j] = in flash_init()
[all …]
/external/u-boot/arch/arm/mach-at91/arm926ejs/
Deflash.c58 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; variable
70 flash_info[0].flash_id = FLASH_UNKNOWN; in flash_init()
101 flash_info[0].size = size; in flash_init()
102 flash_info[0].sector_count = nlocks; in flash_init()
103 flash_info[0].flash_id = id; in flash_init()
108 flash_info[0].start[i] = addr; in flash_init()
109 flash_info[0].protect[i] = 0; in flash_init()
117 for (i=0; i<flash_info[0].sector_count; i++) { in flash_init()
120 flash_info[0].protect[i] = (tmp >> (i%32)) & 1; in flash_init()
123 flash_info[0].protect[i] = 1; in flash_init()
/external/u-boot/cmd/
Dflash.c26 extern flash_info_t flash_info[]; /* info for FLASH chips */
61 (fp = &flash_info[bank - 1])->flash_id == FLASH_UNKNOWN) in abbrev_spec()
101 info = &flash_info[bank]; in flash_sect_roundb()
203 for (bank=0,info = &flash_info[0]; in flash_fill_sect_ranges()
282 flash_print_info (&flash_info[bank]); in do_flinfo()
294 flash_print_info (&flash_info[bank-1]); in do_flinfo()
318 info = &flash_info[bank-1]; in do_flerase()
330 sect_first, sect_last, (info-flash_info)+1); in do_flerase()
342 info = &flash_info[bank]; in do_flerase()
372 info = &flash_info[bank-1]; in do_flerase()
[all …]
Djffs2.c156 extern flash_info_t flash_info[]; in mtd_device_validate()
157 *size = flash_info[num].size; in mtd_device_validate()
260 extern flash_info_t flash_info[]; in get_part_sector_size_nor()
266 flash = &flash_info[id->num]; in get_part_sector_size_nor()
Dbootm.c33 extern flash_info_t flash_info[]; /* info for FLASH chips */
338 for (i = 0, info = &flash_info[0]; in do_imls_nor()
/external/u-boot/board/socrates/
Dsocrates.c30 extern flash_info_t flash_info[]; /* FLASH chips info */
109 &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]); in misc_init_r()
114 &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]); in misc_init_r()
120 &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]); in misc_init_r()
126 &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]); in misc_init_r()
/external/autotest/client/site_tests/usbpd_GFU/
Dusbpd_GFU.py81 flash_info = port.get_flash_info()
82 logging.debug('flash_info = %s', flash_info)
83 return flash_info['image_status'] == 'RW'
220 flash_info = port.get_flash_info()
222 if flash_info['dev_major'] == self.DEV_MAJOR[dev_name]:
/external/u-boot/board/freescale/m5253demo/
Dflash.c36 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; variable
44 flash_get_size((FPWV *) fbase, &flash_info[0]); in flash_init()
45 flash_get_offsets((ulong) fbase, &flash_info[0]); in flash_init()
46 fbase += flash_info[0].size; in flash_init()
47 size += flash_info[0].size; in flash_init()
52 CONFIG_SYS_MONITOR_BASE + monitor_flash_len - 1, &flash_info[0]); in flash_init()
/external/u-boot/doc/
DREADME.ubispl100 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;
/external/u-boot/drivers/mtd/spi/
Dsf_internal.h18 struct flash_info { struct
71 extern const struct flash_info spi_nor_ids[];
Dspi-nor-tiny.c192 const struct flash_info *info) in spi_nor_set_4byte_opcodes()
198 static inline int set_4byte(struct spi_nor *nor, const struct flash_info *info, in set_4byte()
357 static const struct flash_info *spi_nor_read_id(struct spi_nor *nor) in spi_nor_read_id()
361 const struct flash_info *info; in spi_nor_read_id()
581 const struct flash_info *info, in spi_nor_init_params()
643 static int spi_nor_setup(struct spi_nor *nor, const struct flash_info *info, in spi_nor_setup()
715 const struct flash_info *info = NULL; in spi_nor_scan()
Dspi-nor-core.c289 const struct flash_info *info) in spi_nor_set_4byte_opcodes()
310 static int set_4byte(struct spi_nor *nor, const struct flash_info *info, in set_4byte()
488 static int read_bar(struct spi_nor *nor, const struct flash_info *info) in read_bar()
876 static const struct flash_info *spi_nor_read_id(struct spi_nor *nor) in spi_nor_read_id()
880 const struct flash_info *info; in spi_nor_read_id()
2093 const struct flash_info *info, in spi_nor_init_params()
2286 const struct flash_info *info) in spi_nor_select_erase()
2311 static int spi_nor_setup(struct spi_nor *nor, const struct flash_info *info, in spi_nor_setup()
2418 const struct flash_info *info = NULL; in spi_nor_scan()
/external/u-boot/post/drivers/
Dflash.c33 extern flash_info_t flash_info[];
64 info = &flash_info[CONFIG_SYS_POST_FLASH_NUM]; in flash_post_test()
/external/u-boot/board/atmel/at91sam9263ek/
Dat91sam9263ek.c139 extern flash_info_t flash_info[];
167 flash_size += flash_info[i].size; in lcd_show_board_info()
/external/u-boot/common/
Dflash.c14 extern flash_info_t flash_info[]; /* info for FLASH chips */
92 for (i=0, info = &flash_info[0]; i<CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) { in addr2info()
Dupdate.c50 extern flash_info_t flash_info[];
120 info = &flash_info[bank]; in update_flash_protect()
/external/u-boot/include/linux/mtd/
Dspi-nor.h247 struct flash_info;
301 const struct flash_info *info;
/external/u-boot/board/spear/x600/
Dx600.c47 &flash_info[0]); in board_late_init()
/external/u-boot/fs/cramfs/
Dcramfs.c45 extern flash_info_t flash_info[];
47 flash_info[x->dev->id->num].start[0])

12