21#define CPLD_SPI_OOB_CONTROL_REG 0x0B
22#define CPLD_SPI_OOB_FROM_CPU 0x02
23#define CPLD_SPI_OOB_FROM_BIC 0x0B
24#define FLASH_COPY_STACK_SIZE 1024
51uint8_t
start_flash_copy(uint8_t copy_type, uint32_t src_offset, uint32_t dest_offset,
uint32_t length
Definition: pldm_firmware_update.h:1
Definition: plat_spi.h:41
uint8_t status
Definition: plat_spi.h:46
uint8_t completion_code
Definition: plat_spi.h:47
uint32_t current_len
Definition: plat_spi.h:48
uint32_t dest_offset
Definition: plat_spi.h:44
uint8_t copy_type
Definition: plat_spi.h:42
uint32_t total_length
Definition: plat_spi.h:45
uint32_t src_offset
Definition: plat_spi.h:43
flash_copy_status
Definition: plat_spi.h:26
@ COPY_STATUS_BUSY
Definition: plat_spi.h:28
@ COPY_STATUS_IDEL
Definition: plat_spi.h:27
void get_flash_copy_info(FLASH_COPY_INFO *copy_info)
Definition: plat_spi.c:154
flash_copy_completion_code
Definition: plat_spi.h:31
@ COPY_FLASH_SUCCESS
Definition: plat_spi.h:32
@ COPY_FLASH_WRITE_ERROR
Definition: plat_spi.h:37
@ COPY_FLASH_INIT_FAIL
Definition: plat_spi.h:34
@ COPY_FLASH_MALLOC_FAIL
Definition: plat_spi.h:36
@ COPY_FLASH_UNSUPPORTED_TYPE
Definition: plat_spi.h:33
@ COPY_FLASH_READ_ERROR
Definition: plat_spi.h:38
@ COPY_FLASH_OUT_OF_RANGE
Definition: plat_spi.h:35
struct _flash_copy_info_ FLASH_COPY_INFO
uint8_t start_flash_copy(uint8_t copy_type, uint32_t src_offset, uint32_t dest_offset, uint32_t length)
Definition: plat_spi.c:131