diff options
-rw-r--r-- | src/mainboard/google/rush/Makefile.inc | 2 | ||||
-rw-r--r-- | src/mainboard/google/rush/ec_dummy.c | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/google/rush/Makefile.inc b/src/mainboard/google/rush/Makefile.inc index b66cd555fb..e4520c1750 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 0000000000..01a935c79f --- /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; +} |