summaryrefslogtreecommitdiff
path: root/board/google
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-11-14 20:56:45 -0700
committerSimon Glass <sjg@chromium.org>2014-11-25 07:11:17 -0700
commit22e131ca00ed42cd7485aa1821dc3051bd762a3e (patch)
tree4a354cf6cf4840a007f0c006d6091f032477f2d9 /board/google
parenta6fa83f0e7ac669d4ecab8b64fe5b9fb051b6e72 (diff)
downloadu-boot-imx-22e131ca00ed42cd7485aa1821dc3051bd762a3e.zip
u-boot-imx-22e131ca00ed42cd7485aa1821dc3051bd762a3e.tar.gz
u-boot-imx-22e131ca00ed42cd7485aa1821dc3051bd762a3e.tar.bz2
x86: chromebook_link: Enable the Chrome OS EC
Enable the Chrome OS EC so that it can be used from U-Boot. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/google')
-rw-r--r--board/google/chromebook_link/link.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/google/chromebook_link/link.c b/board/google/chromebook_link/link.c
index 0a1ae61..1822237 100644
--- a/board/google/chromebook_link/link.c
+++ b/board/google/chromebook_link/link.c
@@ -5,10 +5,14 @@
*/
#include <common.h>
+#include <cros_ec.h>
#include <asm/gpio.h>
int arch_early_init_r(void)
{
+ if (cros_ec_board_init())
+ return -1;
+
return 0;
}