Declare get_write_protect_state() without ChromeOS

Change-Id: I72471ac68088cd26f8277b27b75b7d44ad72cfc4
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/5642
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
Kyösti Mälkki 2014-04-28 23:41:06 +03:00
parent e3ddee0437
commit 1645589ce7
9 changed files with 8 additions and 10 deletions

View File

@ -22,6 +22,7 @@
/* functions implemented per mainboard: */ /* functions implemented per mainboard: */
void init_bootmode_straps(void); void init_bootmode_straps(void);
int get_write_protect_state(void);
int get_developer_mode_switch(void); int get_developer_mode_switch(void);
int get_recovery_mode_switch(void); int get_recovery_mode_switch(void);

View File

@ -18,7 +18,7 @@
*/ */
#include <string.h> #include <string.h>
#include <vendorcode/google/chromeos/chromeos.h> #include <bootmode.h>
#include <arch/io.h> #include <arch/io.h>
#include <device/device.h> #include <device/device.h>
#include <device/pci.h> #include <device/pci.h>

View File

@ -18,7 +18,7 @@
*/ */
#include <string.h> #include <string.h>
#include <vendorcode/google/chromeos/chromeos.h> #include <bootmode.h>
#include <arch/io.h> #include <arch/io.h>
#include <device/device.h> #include <device/device.h>
#include <device/pci.h> #include <device/pci.h>

View File

@ -18,7 +18,7 @@
*/ */
#include <string.h> #include <string.h>
#include <vendorcode/google/chromeos/chromeos.h> #include <bootmode.h>
#include <arch/io.h> #include <arch/io.h>
#include <device/device.h> #include <device/device.h>
#include <device/pci.h> #include <device/pci.h>

View File

@ -18,7 +18,7 @@
*/ */
#include <string.h> #include <string.h>
#include <vendorcode/google/chromeos/chromeos.h> #include <bootmode.h>
#include <arch/io.h> #include <arch/io.h>
#include <device/device.h> #include <device/device.h>
#include <device/pci.h> #include <device/pci.h>

View File

@ -18,7 +18,7 @@
*/ */
#include <string.h> #include <string.h>
#include <vendorcode/google/chromeos/chromeos.h> #include <bootmode.h>
#include <arch/io.h> #include <arch/io.h>
#include <device/device.h> #include <device/device.h>
#include <device/pci.h> #include <device/pci.h>

View File

@ -18,7 +18,7 @@
*/ */
#include <string.h> #include <string.h>
#include <vendorcode/google/chromeos/chromeos.h> #include <bootmode.h>
#include <arch/io.h> #include <arch/io.h>
#include <device/device.h> #include <device/device.h>
#include <device/pci.h> #include <device/pci.h>

View File

@ -18,7 +18,7 @@
*/ */
#include <string.h> #include <string.h>
#include <vendorcode/google/chromeos/chromeos.h> #include <bootmode.h>
#include <arch/io.h> #include <arch/io.h>
#include <device/device.h> #include <device/device.h>
#include <device/pci.h> #include <device/pci.h>

View File

@ -24,9 +24,6 @@
#include <stdint.h> #include <stdint.h>
#include <bootmode.h> #include <bootmode.h>
/* functions implemented per mainboard: */
int get_write_protect_state(void);
/* functions implemented in vbnv.c: */ /* functions implemented in vbnv.c: */
int get_recovery_mode_from_vbnv(void); int get_recovery_mode_from_vbnv(void);
int vboot_wants_oprom(void); int vboot_wants_oprom(void);