mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-15 09:13:22 +09:00
14db950945
Add defines to enable the Chrome OS EC interface and set it up on init. Signed-off-by: Simon Glass <sjg@chromium.org>
17 lines
208 B
C
17 lines
208 B
C
/*
|
|
* 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;
|
|
}
|