summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2013-11-28 18:11:49 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-01 15:38:41 +0200
commit5687fc9d2120c01b929f24df07667f87089f9b5f (patch)
tree937c1599f52ecd341c2fdf7fe8ca6e5d64ea9825 /src/ec
parent580e5642a8d1db1bc85c5d55dc2227f3fda8eb34 (diff)
Declare recovery and developer modes outside ChromeOS
Move the implementation for recovery and developer modes from vendorcode/google/chromes to lib/. Change-Id: I33335fb282de2c7bc613dc58d6912c47f3b5c06c Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/4308 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/google/chromeec/ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/google/chromeec/ec.c b/src/ec/google/chromeec/ec.c
index f1cefae4f2..c57e18bbca 100644
--- a/src/ec/google/chromeec/ec.c
+++ b/src/ec/google/chromeec/ec.c
@@ -19,6 +19,7 @@
#include <stdint.h>
#include <console/console.h>
+#include <bootmode.h>
#include <arch/io.h>
#include <delay.h>
#include <arch/hlt.h>
@@ -31,7 +32,6 @@
#endif
#include "ec.h"
#include "ec_commands.h"
-#include <vendorcode/google/chromeos/chromeos.h>
uint8_t google_chromeec_calc_checksum(const uint8_t *data, int size)
{