Home
last modified time | relevance | path

Searched refs:flash_id (Results 1 – 21 of 21) sorted by relevance

/openbmc/u-boot/board/freescale/m5253demo/
H A Dflash.c78 switch (info->flash_id & FLASH_VENDMASK) { in flash_print_info()
87 switch (info->flash_id & FLASH_TYPEMASK) { in flash_print_info()
138 info->flash_id = FLASH_MAN_SST; in flash_get_size()
143 info->flash_id = FLASH_UNKNOWN; in flash_get_size()
153 info->flash_id += FLASH_SST6401B; in flash_get_size()
156 info->flash_id = FLASH_UNKNOWN; in flash_get_size()
185 if (info->flash_id == FLASH_UNKNOWN) in flash_erase()
192 type = (info->flash_id & FLASH_VENDMASK); in flash_erase()
199 type = (info->flash_id & FLASH_VENDMASK); in flash_erase()
201 info->flash_id); in flash_erase()
[all …]
/openbmc/u-boot/board/cobra5272/
H A Dflash.c19 switch (info->flash_id & FLASH_VENDMASK) { in flash_print_info()
28 switch (info->flash_id & FLASH_TYPEMASK) { in flash_print_info()
64 flash_info[i].flash_id = in flash_init()
138 if (info->flash_id == FLASH_UNKNOWN) in flash_erase()
145 if ((info->flash_id & FLASH_VENDMASK) != in flash_erase()
/openbmc/u-boot/drivers/mtd/
H A Dpic32_flash.c111 if ((info->flash_id & FLASH_VENDMASK) != FLASH_MAN_MCHP) { in flash_erase()
113 info->flash_id); in flash_erase()
293 if (info->flash_id == FLASH_UNKNOWN) { in flash_print_info()
298 switch (info->flash_id & FLASH_VENDMASK) { in flash_print_info()
307 switch (info->flash_id & FLASH_TYPEMASK) { in flash_print_info()
356 info->flash_id = FLASH_MAN_MCHP | FLASH_MCHP100T; in pic32_flash_bank_init()
H A Dstm32_flash.c39 flash_info[i].flash_id = FLASH_STM32; in flash_init()
58 if (info->flash_id == FLASH_UNKNOWN) { in flash_print_info()
61 } else if (info->flash_id == FLASH_STM32) { in flash_print_info()
H A Dst_smi.c153 info->flash_id = value; in flash_get_size()
451 flash_info[i].flash_id = FLASH_UNKNOWN; in flash_init()
474 if (info->flash_id == FLASH_UNKNOWN) { in flash_print_info()
H A Dcfi_flash.c1062 if (info->flash_id != FLASH_MAN_CFI) { in flash_erase()
1209 if (info->flash_id != FLASH_MAN_CFI) { in flash_print_info()
1855 info->flash_id = FLASH_MAN_CFI; in flash_detect_legacy()
2272 info->flash_id = FLASH_MAN_CFI; in flash_get_size()
2385 flash_info[i].flash_id = FLASH_UNKNOWN; in flash_init()
2394 if (flash_info[i].flash_id == FLASH_UNKNOWN) { in flash_init()
H A Daltera_qspi.c338 flash->flash_id = rdid; in altera_qspi_probe()
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_sup.c518 uint8_t *flash_id) in qla24xx_get_flash_manufacturer() argument
527 *flash_id = MSB(ids); in qla24xx_get_flash_manufacturer()
541 *flash_id = MSB(ids); in qla24xx_get_flash_manufacturer()
1021 fid = flash_id; in qla2xxx_get_fdt_info()
1026 if (flash_id == 0x8e) in qla2xxx_get_fdt_info()
2287 uint8_t *flash_id) in qla2x00_get_flash_manufacturer() argument
2436 if (flash_id == 0xd2 || flash_id == 0xe3) { in qla2x00_write_optrom_data()
2470 if (flash_id == 0x38 || flash_id == 0x4f) { in qla2x00_write_optrom_data()
2487 if (flash_id == 0x38 || flash_id == 0x40 || in qla2x00_write_optrom_data()
2503 } else if (flash_id == 0x20 || flash_id == 0x6e) { in qla2x00_write_optrom_data()
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dvf610_nfc.c278 u32 flash_id; in vf610_nfc_get_id() local
281 flash_id = vf610_nfc_read(mtd, NFC_FLASH_STATUS1); in vf610_nfc_get_id()
282 flash_id >>= (3 - col) * 8; in vf610_nfc_get_id()
284 flash_id = vf610_nfc_read(mtd, NFC_FLASH_STATUS2); in vf610_nfc_get_id()
285 flash_id >>= 24; in vf610_nfc_get_id()
288 return flash_id & 0xff; in vf610_nfc_get_id()
/openbmc/u-boot/cmd/
H A Dflash.c61 (fp = &flash_info[bank - 1])->flash_id == FLASH_UNKNOWN) in abbrev_spec()
210 if (info->flash_id == FLASH_UNKNOWN) { in flash_fill_sect_ranges()
466 if (info->flash_id == FLASH_UNKNOWN) { in do_protect()
554 if (info->flash_id == FLASH_UNKNOWN) { in do_protect()
604 if (info->flash_id == FLASH_UNKNOWN) { in flash_sect_protect()
H A Darmflash.c65 if (info->flash_id != FLASH_MAN_CFI) { in parse_bank()
H A Dbootm.c334 if (info->flash_id == FLASH_UNKNOWN) in do_imls_nor()
/openbmc/u-boot/common/
H A Dflash.c49 if (info->flash_id == FLASH_UNKNOWN || in flash_protect()
93 if (info->flash_id != FLASH_UNKNOWN && in addr2info()
/openbmc/u-boot/arch/arm/mach-at91/arm926ejs/
H A Deflash.c70 flash_info[0].flash_id = FLASH_UNKNOWN; in flash_init()
103 flash_info[0].flash_id = id; in flash_init()
/openbmc/u-boot/board/shmin/
H A Dshmin.c56 info->flash_id = 0x01000000; in board_flash_get_legacy()
/openbmc/u-boot/board/freescale/m54455evb/
H A Dm54455evb.c178 info->flash_id = 0x01000000; in board_flash_get_legacy()
/openbmc/u-boot/include/
H A Dflash.h21 ulong flash_id; /* combined device & manufacturer code */ member
/openbmc/linux/drivers/mtd/devices/
H A Dspear_smi.c357 static int get_flash_index(u32 flash_id) in get_flash_index() argument
363 if (flash_devices[index].device_id == flash_id) in get_flash_index()
/openbmc/u-boot/net/
H A Dtftp.c153 if (flash_info[i].flash_id == FLASH_UNKNOWN) in store_block()
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_sli4.h984 uint8_t flash_id; member
H A Dlpfc_sli.c6001 phba->sli4_hba.flash_id = bf_get(lpfc_cntl_attr_flash_id, cntl_attr); in lpfc_sli4_get_ctl_attr()
6013 phba->BIOSVersion, phba->sli4_hba.flash_id, in lpfc_sli4_get_ctl_attr()
20802 phba->sli4_hba.flash_id, phba->sli4_hba.asic_rev, in lpfc_log_fw_write_cmpl()
20812 phba->sli4_hba.flash_id); in lpfc_log_fw_write_cmpl()