28#ifndef _DEV_NOR_CONFIG_FLASH_H
29#define _DEV_NOR_CONFIG_FLASH_H
67 uint32_t alt_sector_size;
69 uint8_t alt_sector_cmd;
71 uint32_t num_alt_sectors;
120typedef uint8_t *(*rtems_flash_NOR_config_resource_acquire)(
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
rtems_status_code rtems_flash_CFI_parse_from_buffer(uint8_t *cfi_raw, size_t cfi_raw_len, rtems_flash_NOR_config_data *data)
This function parses the provided buffer of CFI data into a rtems_flash_NOR_config_data structure.
Definition: config-parser.c:118
void(* rtems_flash_NOR_config_resource_release)(void *context, uint8_t *data)
release data acquired from the NOR chip.
Definition: config-parser.h:132
rtems_status_code rtems_flash_SFDP_parse(rtems_flash_NOR_config_accessor *accessor, rtems_flash_NOR_config_data *data)
This function parses a SFDP configuration space into a rtems_flash_NOR_config_data structure.
Definition: config-parser.c:327
uint8_t *(* rtems_flash_NOR_config_resource_acquire)(void *context, uint32_t offset, size_t length)
acquire data from the NOR chip.
Definition: config-parser.h:120
rtems_status_code rtems_flash_SFDP_parse_from_buffer(uint8_t *sfdp_raw, size_t sfdp_raw_len, rtems_flash_NOR_config_data *data)
This function parses the provided buffer of SFDP data into a rtems_flash_NOR_config_data structure.
Definition: config-parser.c:447
This header file provides the status codes of Classic API directives and support functions.
This struct allows access to the flash data.
Definition: config-parser.h:140
This struct holds the information parsed from the Common Flash Memory Information (CFI) read from a f...
Definition: config-parser.h:53