rush: Add ec_dummy file to enable vboot compilation

BUG=chrome-os-partner:30784
BRANCH=None
TEST=Compiles successfully for rush

Change-Id: Ic11bef85e5c7635000582f87727cd9a33b0b36e3
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://chromium-review.googlesource.com/209975
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Commit-Queue: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
Furquan Shaikh 2014-07-23 13:48:41 -07:00 committed by chrome-internal-fetch
commit 3d3f0494d8
2 changed files with 11 additions and 0 deletions

View file

@ -36,5 +36,7 @@ romstage-y += reset.c
romstage-y += romstage.c
romstage-y += sdram_configs.c
romstage-y += chromeos.c
romstage-y += ec_dummy.c
ramstage-y += mainboard.c
ramstage-y += ec_dummy.c

View file

@ -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;
}