blob: 2a254efe3dd77bb600305d4a5f6b9272157b73f6 [file] [log] [blame]
Bin Meng08e484c2014-12-17 15:50:36 +08001/*
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>
Bin Mengee18d642014-12-17 15:50:45 +080010#include <netdev.h>
Bin Meng08e484c2014-12-17 15:50:36 +080011#include <smsc_lpc47m.h>
12
13#define SERIAL_DEV PNP_DEV(0x2e, 4)
14
15DECLARE_GLOBAL_DATA_PTR;
16
17int board_early_init_f(void)
18{
19 lpc47m_enable_serial(SERIAL_DEV, UART0_BASE);
20
21 return 0;
22}
Bin Meng9b649692014-12-17 15:50:38 +080023
24void setup_pch_gpios(u16 gpiobase, const struct pch_gpio_map *gpio)
25{
26 return;
27}
Bin Mengee18d642014-12-17 15:50:45 +080028
29int board_eth_init(bd_t *bis)
30{
31 return pci_eth_init(bis);
32}