summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google')
-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)
{