OpenBIC
OpenSource Bridge-IC
|
#include <stdio.h>
#include <plat_power_seq.h>
#include "hal_gpio.h"
#include "util_spi.h"
#include "util_sys.h"
#include "plat_gpio.h"
#include <logging/log.h>
Macros | |
#define | CXL_FLASH_TO_BIC 1 |
#define | CXL_FLASH_TO_CXL 0 |
#define | CXL_UPDATE_MAX_OFFSET 0x2000000 |
Functions | |
LOG_MODULE_REGISTER (plat_spi) | |
uint8_t | fw_update_cxl (uint32_t offset, uint16_t msg_len, uint8_t *msg_buf, bool sector_end) |
#define CXL_FLASH_TO_BIC 1 |
#define CXL_FLASH_TO_CXL 0 |
#define CXL_UPDATE_MAX_OFFSET 0x2000000 |
uint8_t fw_update_cxl | ( | uint32_t | offset, |
uint16_t | msg_len, | ||
uint8_t * | msg_buf, | ||
bool | sector_end | ||
) |
LOG_MODULE_REGISTER | ( | plat_spi | ) |