u-boot-brain/board/chromebook-x86/coreboot/coreboot.c
Simon Glass 14db950945 x86: cros_ec: Enable cros_ec for link
Add defines to enable the Chrome OS EC interface and set it up on init.

Signed-off-by: Simon Glass <sjg@chromium.org>
2014-10-22 21:50:33 -06:00

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;
}