From 1645589ce7c0312e71b6226b95b3fa888d55ddcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Mon, 28 Apr 2014 23:41:06 +0300 Subject: [PATCH] Declare get_write_protect_state() without ChromeOS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I72471ac68088cd26f8277b27b75b7d44ad72cfc4 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/5642 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Reviewed-by: Aaron Durbin --- src/include/bootmode.h | 1 + src/mainboard/google/bolt/chromeos.c | 2 +- src/mainboard/google/falco/chromeos.c | 2 +- src/mainboard/google/peppy/chromeos.c | 2 +- src/mainboard/google/rambi/chromeos.c | 2 +- src/mainboard/google/slippy/chromeos.c | 2 +- src/mainboard/intel/baskingridge/chromeos.c | 2 +- src/mainboard/intel/wtm2/chromeos.c | 2 +- src/vendorcode/google/chromeos/chromeos.h | 3 --- 9 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/include/bootmode.h b/src/include/bootmode.h index bec2d8081f..323668b321 100644 --- a/src/include/bootmode.h +++ b/src/include/bootmode.h @@ -22,6 +22,7 @@ /* functions implemented per mainboard: */ void init_bootmode_straps(void); +int get_write_protect_state(void); int get_developer_mode_switch(void); int get_recovery_mode_switch(void); diff --git a/src/mainboard/google/bolt/chromeos.c b/src/mainboard/google/bolt/chromeos.c index f003f42586..8bbf0d4223 100644 --- a/src/mainboard/google/bolt/chromeos.c +++ b/src/mainboard/google/bolt/chromeos.c @@ -18,7 +18,7 @@ */ #include -#include +#include #include #include #include diff --git a/src/mainboard/google/falco/chromeos.c b/src/mainboard/google/falco/chromeos.c index 0056dfdb39..fbe05be96b 100644 --- a/src/mainboard/google/falco/chromeos.c +++ b/src/mainboard/google/falco/chromeos.c @@ -18,7 +18,7 @@ */ #include -#include +#include #include #include #include diff --git a/src/mainboard/google/peppy/chromeos.c b/src/mainboard/google/peppy/chromeos.c index 0056dfdb39..fbe05be96b 100644 --- a/src/mainboard/google/peppy/chromeos.c +++ b/src/mainboard/google/peppy/chromeos.c @@ -18,7 +18,7 @@ */ #include -#include +#include #include #include #include diff --git a/src/mainboard/google/rambi/chromeos.c b/src/mainboard/google/rambi/chromeos.c index 9223858e25..cf52f2089f 100644 --- a/src/mainboard/google/rambi/chromeos.c +++ b/src/mainboard/google/rambi/chromeos.c @@ -18,7 +18,7 @@ */ #include -#include +#include #include #include #include diff --git a/src/mainboard/google/slippy/chromeos.c b/src/mainboard/google/slippy/chromeos.c index 0056dfdb39..fbe05be96b 100644 --- a/src/mainboard/google/slippy/chromeos.c +++ b/src/mainboard/google/slippy/chromeos.c @@ -18,7 +18,7 @@ */ #include -#include +#include #include #include #include diff --git a/src/mainboard/intel/baskingridge/chromeos.c b/src/mainboard/intel/baskingridge/chromeos.c index 7efd06528a..c667fd420f 100644 --- a/src/mainboard/intel/baskingridge/chromeos.c +++ b/src/mainboard/intel/baskingridge/chromeos.c @@ -18,7 +18,7 @@ */ #include -#include +#include #include #include #include diff --git a/src/mainboard/intel/wtm2/chromeos.c b/src/mainboard/intel/wtm2/chromeos.c index 9c4c3b4228..1c11876b04 100644 --- a/src/mainboard/intel/wtm2/chromeos.c +++ b/src/mainboard/intel/wtm2/chromeos.c @@ -18,7 +18,7 @@ */ #include -#include +#include #include #include #include diff --git a/src/vendorcode/google/chromeos/chromeos.h b/src/vendorcode/google/chromeos/chromeos.h index 88c6d867e4..dc34dc33ce 100644 --- a/src/vendorcode/google/chromeos/chromeos.h +++ b/src/vendorcode/google/chromeos/chromeos.h @@ -24,9 +24,6 @@ #include #include -/* functions implemented per mainboard: */ -int get_write_protect_state(void); - /* functions implemented in vbnv.c: */ int get_recovery_mode_from_vbnv(void); int vboot_wants_oprom(void);