aboutsummaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/rush
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/rush')
-rw-r--r--src/mainboard/google/rush/Makefile.inc2
-rw-r--r--src/mainboard/google/rush/ec_dummy.c9
2 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/google/rush/Makefile.inc b/src/mainboard/google/rush/Makefile.inc
index b66cd555f..e4520c175 100644
--- a/src/mainboard/google/rush/Makefile.inc
+++ b/src/mainboard/google/rush/Makefile.inc
@@ -36,6 +36,8 @@ romstage-y += reset.c
romstage-y += romstage.c
romstage-y += sdram_configs.c
romstage-$(CONFIG_CHROMEOS) += chromeos.c
+romstage-y += ec_dummy.c
ramstage-y += mainboard.c
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
+ramstage-y += ec_dummy.c \ No newline at end of file
diff --git a/src/mainboard/google/rush/ec_dummy.c b/src/mainboard/google/rush/ec_dummy.c
new file mode 100644
index 000000000..01a935c79
--- /dev/null
+++ b/src/mainboard/google/rush/ec_dummy.c
@@ -0,0 +1,9 @@
+/* Dummy CHROMEEC file to provide stub functions for vboot compilation */
+
+#include <stdint.h>
+
+int google_chromeec_vbnv_context(int is_read, uint8_t *data, int len);
+int google_chromeec_vbnv_context(int is_read, uint8_t *data, int len)
+{
+ return 0;
+}