summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-05-26 18:46:55 +0800
committerChromeBot <chrome-bot@google.com>2013-06-03 14:34:10 -0700
commit80105a95569c36b7a4d372c7e74f086ad27f5492 (patch)
tree368706c3d44566cb696ebf98018d1dfb7bcd7f80 /core
parent1806f521955623770405778a742d0398cae028a2 (diff)
downloadchrome-ec-80105a95569c36b7a4d372c7e74f086ad27f5492.tar.gz
Enable flash unit test on emulator
BUG=chrome-os-partner:19236 TEST=Pass all tests BRANCH=None Change-Id: I09276292499b94b2d4810830de51e4c63a9b7342 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/56704 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'core')
-rw-r--r--core/host/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/host/main.c b/core/host/main.c
index e96dc40faa..ba8ec95dcf 100644
--- a/core/host/main.c
+++ b/core/host/main.c
@@ -5,12 +5,15 @@
/* Entry point of unit test executable */
+#include "flash.h"
#include "hooks.h"
#include "task.h"
#include "timer.h"
int main(void)
{
+ flash_pre_init();
+
timer_init();
hook_init();