Patrick Georgi (pgeorgi@google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11099
-gerrit
commit f65010d26345520c6a7522065779a8a6046ddd28 Author: Patrick Georgi pgeorgi@google.com Date: Fri Jul 31 17:21:15 2015 +0200
google/urara: Stub out get_write_protect_state()
vboot2 requires it
Change-Id: I63bc3f176af72da8ea172a09aa536a10f1184b14 Signed-off-by: Patrick Georgi pgeorgi@google.com --- src/mainboard/google/urara/Makefile.inc | 1 + src/mainboard/google/urara/chromeos.c | 6 ++++++ 2 files changed, 7 insertions(+)
diff --git a/src/mainboard/google/urara/Makefile.inc b/src/mainboard/google/urara/Makefile.inc index 234ab66..10140b3 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 f95e3db..620289d 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) {