summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2015-07-31 17:21:15 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-08-08 12:06:00 +0200
commit4d7cf0bb47f776d0952058435854069cb64cd2da (patch)
tree09ecf51c49ac1fea6088902b7875f1f18450bc73 /src
parent0c02eefe2bfaff878e7c13f71daabaffd6e727f0 (diff)
downloadcoreboot-4d7cf0bb47f776d0952058435854069cb64cd2da.tar.xz
google/urara: Stub out get_write_protect_state()
vboot2 requires it Change-Id: I63bc3f176af72da8ea172a09aa536a10f1184b14 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: http://review.coreboot.org/11099 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/urara/Makefile.inc1
-rw-r--r--src/mainboard/google/urara/chromeos.c6
2 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/urara/Makefile.inc b/src/mainboard/google/urara/Makefile.inc
index 234ab66229..10140b3363 100644
--- a/src/mainboard/google/urara/Makefile.inc
+++ b/src/mainboard/google/urara/Makefile.inc
@@ -20,6 +20,7 @@
bootblock-y += boardid.c
ramstage-y += boardid.c
+romstage-$(CONFIG_CHROMEOS) += chromeos.c
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
ramstage-y += mainboard.c
diff --git a/src/mainboard/google/urara/chromeos.c b/src/mainboard/google/urara/chromeos.c
index f95e3dbc62..620289d581 100644
--- a/src/mainboard/google/urara/chromeos.c
+++ b/src/mainboard/google/urara/chromeos.c
@@ -18,9 +18,15 @@
*/
#include <boot/coreboot_tables.h>
+#include <bootmode.h>
#include <console/console.h>
#include <gpio.h>
+int get_write_protect_state(void)
+{
+ printk(BIOS_ERR, "%s unsupported, but called\n", __func__);
+ return 0;
+}
void fill_lb_gpios(struct lb_gpios *gpios)
{