7 #define SI_DESC_OEM_SECTION_OFFSET 0xF00
8 #define PRE_MEM_FEATURE_CTRL_OFFSET SI_DESC_OEM_SECTION_OFFSET
9 #define PRE_MEM_FEATURE_CTRL_SZ 64
10 #define SI_DESC_REGION_SZ 4096
20 "sizeof(struct pre_mem_ft) must be a multiple of 64 bytes and up to 256 bytes");
34 printk(
BIOS_ERR,
"Failed to read Descriptor Region from SPI Flash\n");
const struct spi_flash * boot_device_spi_flash(void)
#define printk(level,...)
_Static_assert(sizeof(struct pre_mem_ft) % 64==0 &&sizeof(struct pre_mem_ft)<=256, "sizeof(struct pre_mem_ft) must be a multiple of 64 bytes and up to 256 bytes")
#define PRE_MEM_FEATURE_CTRL_SZ
#define PRE_MEM_FEATURE_CTRL_OFFSET
static struct pre_mem_ft pre_mem_debug
bool is_debug_cse_fw_update_disable(void)
uint8_t pre_mem_debug_init(void)
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
#define BIOS_ERR
BIOS_ERR - System in incomplete state.
int spi_flash_read(const struct spi_flash *flash, u32 offset, size_t len, void *buf)
uint8_t cse_fw_update_disable