1 /* 2 * Copyright (C) 2013 Google, Inc 3 * 4 * SPDX-License-Identifier: GPL-2.0+ 5 */ 6 7 #include <common.h> 8 #include <cros_ec.h> 9 #include <asm/gpio.h> 10 11 int arch_early_init_r(void) 12 { 13 #ifdef CONFIG_CROS_EC 14 if (cros_ec_board_init()) 15 return -1; 16 #endif 17 18 return 0; 19 } 20 21 void setup_pch_gpios(u16 gpiobase, const struct pch_gpio_map *gpio) 22 { 23 return; 24 } 25