Add defines to enable the Chrome OS EC interface and set it up on init. Signed-off-by: Simon Glass <sjg@chromium.org>master
parent
f1269925f9
commit
14db950945
@ -0,0 +1,16 @@ |
||||
/*
|
||||
* Copyright (C) 2013 Google, Inc |
||||
* |
||||
* SPDX-License-Identifier: GPL-2.0+ |
||||
*/ |
||||
|
||||
#include <common.h> |
||||
#include <cros_ec.h> |
||||
|
||||
int arch_early_init_r(void) |
||||
{ |
||||
if (cros_ec_board_init()) |
||||
return -1; |
||||
|
||||
return 0; |
||||
} |
Loading…
Reference in new issue