summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2016-07-25 16:59:00 -0700
committerFurquan Shaikh <furquan@google.com>2016-07-28 00:39:20 +0200
commitc66a02634c1d4b0f7929cb9f4c510fff56db0ca6 (patch)
tree405f20c496d61aa0d6bdc386cb89de9dc760e496
parentfaf07a8fabb142c8862bfe85ddd1e677e195e023 (diff)
downloadcoreboot-c66a02634c1d4b0f7929cb9f4c510fff56db0ca6.tar.xz
google/urara: Provide dummy implementations of rec/dev functions
This is required to enable elog support in ChromeOS by default. BUG=chrome-os-partner:55639 Change-Id: I9c97143d794de4bf220ddf67c0ca2eac2f7a326d Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/15896 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins)
-rw-r--r--src/mainboard/google/urara/chromeos.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mainboard/google/urara/chromeos.c b/src/mainboard/google/urara/chromeos.c
index 0d5485fa48..4db06c6a5c 100644
--- a/src/mainboard/google/urara/chromeos.c
+++ b/src/mainboard/google/urara/chromeos.c
@@ -28,3 +28,15 @@ void fill_lb_gpios(struct lb_gpios *gpios)
{
printk(BIOS_ERR, "%s unsupported, but called\n", __func__);
}
+
+int get_developer_mode_switch(void)
+{
+ printk(BIOS_ERR, "%s unsupported, but called\n", __func__);
+ return 0;
+}
+
+int get_recovery_mode_switch(void)
+{
+ printk(BIOS_ERR, "%s unsupported, but called\n", __func__);
+ return 0;
+}