From 4d7cf0bb47f776d0952058435854069cb64cd2da Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 31 Jul 2015 17:21:15 +0200 Subject: google/urara: Stub out get_write_protect_state() vboot2 requires it Change-Id: I63bc3f176af72da8ea172a09aa536a10f1184b14 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/11099 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/google/urara/Makefile.inc | 1 + src/mainboard/google/urara/chromeos.c | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'src/mainboard') 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 +#include #include #include +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) { -- cgit v1.2.3