struct ec_response_flash_info_1

Defined at line 1190 of file ../../zircon/third_party/ulib/chromiumos-platform-ec/include/chromiumos-platform-ec/ec_commands.h

Version 1 returns the same initial fields as version 0, with additional

fields following.

gcc anonymous structs don't seem to get along with the __packed directive;

if they did we'd define the version 0 structure as a sub-structure of this

one.

Version 2 supports flash banks of different sizes:

The caller specified the number of banks it has preallocated

(num_banks_desc)

The EC returns the number of banks describing the flash memory.

It adds banks descriptions up to num_banks_desc.

Public Members

uint32_t flash_size
uint32_t write_block_size
uint32_t erase_block_size
uint32_t protect_block_size
uint32_t write_ideal_size
uint32_t flags