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>
This commit is contained in:
Patrick Georgi 2015-07-31 17:21:15 +02:00
parent 0c02eefe2b
commit 4d7cf0bb47
2 changed files with 7 additions and 0 deletions

View File

@ -20,6 +20,7 @@
bootblock-y += boardid.c bootblock-y += boardid.c
ramstage-y += boardid.c ramstage-y += boardid.c
romstage-$(CONFIG_CHROMEOS) += chromeos.c
ramstage-$(CONFIG_CHROMEOS) += chromeos.c ramstage-$(CONFIG_CHROMEOS) += chromeos.c
ramstage-y += mainboard.c ramstage-y += mainboard.c

View File

@ -18,9 +18,15 @@
*/ */
#include <boot/coreboot_tables.h> #include <boot/coreboot_tables.h>
#include <bootmode.h>
#include <console/console.h> #include <console/console.h>
#include <gpio.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) void fill_lb_gpios(struct lb_gpios *gpios)
{ {