xref: /openbmc/u-boot/board/intel/crownbay/crownbay.c (revision 17aa548c)
1 /*
2  * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
3  *
4  * SPDX-License-Identifier:	GPL-2.0+
5  */
6 
7 #include <common.h>
8 #include <asm/ibmpc.h>
9 #include <asm/pnp_def.h>
10 #include <netdev.h>
11 #include <smsc_lpc47m.h>
12 
13 int board_early_init_f(void)
14 {
15 	lpc47m_enable_serial(PNP_DEV(LPC47M_IO_PORT, LPC47M_SP1),
16 			     UART0_BASE, UART0_IRQ);
17 	lpc47m_enable_kbc(PNP_DEV(LPC47M_IO_PORT, LPC47M_KBC),
18 			  KBD_IRQ, MSE_IRQ);
19 
20 	return 0;
21 }
22 
23 void setup_pch_gpios(u16 gpiobase, const struct pch_gpio_map *gpio)
24 {
25 	return;
26 }
27 
28 int board_eth_init(bd_t *bis)
29 {
30 	return pci_eth_init(bis);
31 }
32