Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2015, Google, Inc |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | #include <common.h> |
Gabriel Huau | f70353a | 2015-05-11 23:18:25 -0700 | [diff] [blame] | 8 | #include <asm/gpio.h> |
Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 9 | #include <netdev.h> |
Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 10 | |
Gabriel Huau | f70353a | 2015-05-11 23:18:25 -0700 | [diff] [blame] | 11 | int arch_early_init_r(void) |
| 12 | { |
| 13 | /* do the pin-muxing */ |
| 14 | gpio_ich6_pinctrl_init(); |
| 15 | |
| 16 | return 0; |
| 17 | } |
| 18 | |
Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 19 | void setup_pch_gpios(u16 gpiobase, const struct pch_gpio_map *gpio) |
| 20 | { |
| 21 | return; |
| 22 | } |
| 23 | |
| 24 | int board_eth_init(bd_t *bis) |
| 25 | { |
| 26 | return pci_eth_init(bis); |
| 27 | } |