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

#include <spi_flash.h>

Collaboration diagram for spi_flash_protection_ops:
Collaboration graph

Data Fields

int(* get_write )(const struct spi_flash *flash, const struct region *region)
 
int(* set_write )(const struct spi_flash *flash, const struct region *region, const enum spi_flash_status_reg_lockdown mode)
 

Detailed Description

Definition at line 53 of file spi_flash.h.

Field Documentation

◆ get_write

int(* spi_flash_protection_ops::get_write) (const struct spi_flash *flash, const struct region *region)

Definition at line 61 of file spi_flash.h.

Referenced by spi_flash_is_write_protected().

◆ set_write

int(* spi_flash_protection_ops::set_write) (const struct spi_flash *flash, const struct region *region, const enum spi_flash_status_reg_lockdown mode)

Definition at line 74 of file spi_flash.h.

Referenced by spi_flash_set_write_protected().


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