summaryrefslogtreecommitdiffstats
path: root/board/coreboot/coreboot/coreboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/coreboot/coreboot/coreboot.c')
-rw-r--r--board/coreboot/coreboot/coreboot.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/board/coreboot/coreboot/coreboot.c b/board/coreboot/coreboot/coreboot.c
new file mode 100644
index 0000000000..0240c34581
--- /dev/null
+++ b/board/coreboot/coreboot/coreboot.c
@@ -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;
+}
OpenPOWER on IntegriCloud