OpenOCD
|
Go to the source code of this file.
Typedefs | |
typedef int(* | read_sfdp_block_t) (struct flash_bank *bank, uint32_t addr, uint32_t words, uint32_t *buffer) |
Functions | |
int | spi_sfdp (struct flash_bank *bank, struct flash_device *dev, read_sfdp_block_t read_sfdp_block) |
typedef int(* read_sfdp_block_t) (struct flash_bank *bank, uint32_t addr, uint32_t words, uint32_t *buffer) |
int spi_sfdp | ( | struct flash_bank * | bank, |
struct flash_device * | dev, | ||
read_sfdp_block_t | read_sfdp_block | ||
) |
Definition at line 61 of file sfdp.c.
References sfdp_basic_flash_param::addr_reset, bank, sfdp_basic_flash_param::chip_byte, flash_device::chip_erase_cmd, sfdp_basic_flash_param::density, flash_device::erase_cmd, sfdp_basic_flash_param::erase_t12, sfdp_4byte_addr_param::erase_t1234, sfdp_basic_flash_param::erase_t34, ERROR_FAIL, ERROR_FLASH_BANK_NOT_PROBED, ERROR_OK, sfdp_basic_flash_param::fast_444, sfdp_basic_flash_param::fast_addr, sfdp_4byte_addr_param::flags, LOG_DEBUG, LOG_ERROR, LOG_INFO, flash_device::name, NULL, flash_device::pagesize, flash_device::pprog_cmd, sfdp_phdr::ptr, flash_device::qread_cmd, sfdp_basic_flash_param::read_222, sfdp_basic_flash_param::read_444, flash_device::read_cmd, read_sfdp_block(), sfdp_hdr::revision, sfdp_phdr::revision, flash_device::sectorsize, SFDP_4BYTE_ADDR, SFDP_ACCESS_PROT, SFDP_BASIC_FLASH, SFDP_MAGIC, sfdp_name, sfdp_hdr::signature, flash_device::size_in_bytes, SPIFLASH_MASS_ERASE, SPIFLASH_PAGE_PROGRAM, and SPIFLASH_READ.
Referenced by stmqspi_probe().