coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
chromeos.c File Reference
#include <bootmode.h>
#include <boot/coreboot_tables.h>
#include <gpio.h>
#include <types.h>
#include <vendorcode/google/chromeos/chromeos.h>
Include dependency graph for chromeos.c:

Go to the source code of this file.

Functions

void fill_lb_gpios (struct lb_gpios *gpios)
 
int get_write_protect_state (void)
 Only used if CONFIG(CHROMEOS) is set. More...
 
 DECLARE_NO_CROS_GPIOS ()
 

Function Documentation

◆ DECLARE_NO_CROS_GPIOS()

DECLARE_NO_CROS_GPIOS ( )

◆ fill_lb_gpios()

void fill_lb_gpios ( struct lb_gpios gpios)

Definition at line 9 of file chromeos.c.

◆ get_write_protect_state()

int get_write_protect_state ( void  )

Only used if CONFIG(CHROMEOS) is set.

Always zero as the WP pin of the flash is tied high.

Definition at line 15 of file chromeos.c.