mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-04 18:41:03 +00: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>
16 lines
208 B
C
16 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;
|
|
}
|