coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ec_response_flash_info Struct Reference

struct ec_response_flash_info - Response to the flash info command. More...

#include <ec_commands.h>

Collaboration diagram for ec_response_flash_info:
Collaboration graph

Data Fields

uint32_t flash_size
 
uint32_t write_block_size
 
uint32_t erase_block_size
 
uint32_t protect_block_size
 

Detailed Description

struct ec_response_flash_info - Response to the flash info command.

@flash_size: Usable flash size in bytes. @write_block_size: Write block size. Write offset and size must be a multiple of this. @erase_block_size: Erase block size. Erase offset and size must be a multiple of this. @protect_block_size: Protection block size. Protection offset and size must be a multiple of this.

Version 0 returns these fields.

Definition at line 1547 of file ec_commands.h.

Field Documentation

◆ erase_block_size

uint32_t ec_response_flash_info::erase_block_size

Definition at line 1550 of file ec_commands.h.

◆ flash_size

uint32_t ec_response_flash_info::flash_size

Definition at line 1548 of file ec_commands.h.

◆ protect_block_size

uint32_t ec_response_flash_info::protect_block_size

Definition at line 1551 of file ec_commands.h.

◆ write_block_size

uint32_t ec_response_flash_info::write_block_size

Definition at line 1549 of file ec_commands.h.

Referenced by ec_flash_write().


The documentation for this struct was generated from the following file: