XPI NOR ROM APIs. More...
Data Structures | |
| struct | xpi_nor_config_option_t |
| XPI NOR configuration option The ROM SW can detect the FLASH configuration based on the following structure specified by the end-user. More... | |
| struct | device_mode_cfg_t |
| Device Mode configuration structure. More... | |
| struct | device_mode_param_t |
| Device mode parameter structure. More... | |
| struct | xpi_device_info_t |
| XPI NOR device information structure. More... | |
| struct | xpi_nor_config_t |
| XPI NOR configuration structure. More... | |
| union | flash_run_context_t |
| FLASH runtime context structure. More... | |
| struct | xpi_nor_driver_interface_t |
| XPI NOR driver interface. More... | |
Macros | |
| #define | XPI_NOR_CFG_TAG 0x524f4E58U |
| #define | XPI_NOR_CFG_OPTION_TAG (0xfcf90U) |
| XPI NOR option tag. More... | |
XPI NOR ROM APIs.
| #define XPI_NOR_CFG_OPTION_TAG (0xfcf90U) |
#include <drivers/inc/hpm_romapi_xpi_nor_def.h>
XPI NOR option tag.
| #define XPI_NOR_CFG_TAG 0x524f4E58U |
#include <drivers/inc/hpm_romapi_xpi_nor_def.h>
ASCII: "XNOR"
| anonymous enum |
#include <drivers/inc/hpm_romapi_xpi_nor_def.h>
XPI NOR properties.
| anonymous enum |
#include <drivers/inc/hpm_romapi_xpi_nor_def.h>
XPI NOR safe frequency option.
| Enumerator | |
|---|---|
| xpi_nor_clk_safe_clk_freq | |
| anonymous enum |
#include <drivers/inc/hpm_romapi_xpi_nor_def.h>
XPI NOR miscellaneous options.
| Enumerator | |
|---|---|
| xpi_nor_option_misc_spi_only | SPI only |
| xpi_nor_option_misc_internal_loopback | Internal loopback mode |
| xpi_nor_option_misc_ext_dqs | External DQS pin |
| anonymous enum |
#include <drivers/inc/hpm_romapi_xpi_nor_def.h>
XPI NOR connection option.
| anonymous enum |
#include <drivers/inc/hpm_romapi_xpi_nor_def.h>
Sector size options.
| Enumerator | |
|---|---|
| serial_nor_sector_size_4kb | Sector size: 4KB |
| serial_nor_sector_size_32kb | Sector size: 32KB |
| serial_nor_sector_size_64kb | Sector size: 64KB |
| serial_nor_sector_size_256kb | Sector size: 256KB |
| anonymous enum |
#include <drivers/inc/hpm_romapi_xpi_nor_def.h>
Sector erase command options.
| anonymous enum |
#include <drivers/inc/hpm_romapi_xpi_nor_def.h>
FLASH size options.
| Enumerator | |
|---|---|
| flash_size_4mb | FLASH size: 4MB |
| flash_size_8mb | FLASH size: 8MB |
| flash_size_16mb | FLASH size: 16MB |
| anonymous enum |
#include <drivers/inc/hpm_romapi_xpi_nor_def.h>
XPI NOR API error codes.
#include <drivers/inc/hpm_romapi_xpi_nor_def.h>
XPI NOR configuration command type.
| Enumerator | |
|---|---|
| xpi_nor_cfg_cmd_type_no_cfg | No configuration |
| xpi_nor_cfg_cmd_type_generic | Generic configuration |
| xpi_nor_cfg_cmd_type_spi2xpi | SPI to XPI mode |
| xpi_nor_cfg_cmd_type_xpi2spi | XPI to SPI mode |
| enum xpi_nor_probe_t |
#include <drivers/inc/hpm_romapi_xpi_nor_def.h>
XPI NOR probe options.
#include <drivers/inc/hpm_romapi_xpi_nor_def.h>
QE bit enable sequence option.
#include <drivers/inc/hpm_romapi_xpi_nor_def.h>
Standard XPI NOR seuqnce index definitions.
| enum xpi_working_mode_t |
#include <drivers/inc/hpm_romapi_xpi_nor_def.h>
XPI working mode.