aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/trogdor/chromeos.c
diff options
context:
space:
mode:
authorT Michael Turney <mturney@codeaurora.org>2019-10-10 12:19:51 -0700
committerJulius Werner <jwerner@chromium.org>2019-10-25 23:38:44 +0000
commitfda6cd6d28ee5e314639f02cf79d6b00a27f249e (patch)
tree2d1d39b96724f974a61134d141d1929ec8a1c204 /src/mainboard/google/trogdor/chromeos.c
parent0cd098e4e41d6bb3b27327d4a6526bd7004bfc77 (diff)
trogdor: Provide initial mainboard support
Change-Id: Ic2f0944b92dcad7048a0c38720d2ef3c855ef007 Signed-off-by: T Michael Turney <mturney@codeaurora.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35495 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/mainboard/google/trogdor/chromeos.c')
-rw-r--r--src/mainboard/google/trogdor/chromeos.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/mainboard/google/trogdor/chromeos.c b/src/mainboard/google/trogdor/chromeos.c
new file mode 100644
index 0000000000..1e8857db97
--- /dev/null
+++ b/src/mainboard/google/trogdor/chromeos.c
@@ -0,0 +1,27 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#include <boot/coreboot_tables.h>
+#include <bootmode.h>
+
+int get_write_protect_state(void)
+{
+ return 0;
+}
+
+void fill_lb_gpios(struct lb_gpios *gpios)
+{
+
+}