2014-12-17 07:50:36 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
|
|
|
#include <asm/ibmpc.h>
|
|
|
|
#include <asm/pnp_def.h>
|
2014-12-17 07:50:45 +00:00
|
|
|
#include <netdev.h>
|
2014-12-17 07:50:36 +00:00
|
|
|
#include <smsc_lpc47m.h>
|
|
|
|
|
|
|
|
#define SERIAL_DEV PNP_DEV(0x2e, 4)
|
|
|
|
|
|
|
|
DECLARE_GLOBAL_DATA_PTR;
|
|
|
|
|
|
|
|
int board_early_init_f(void)
|
|
|
|
{
|
|
|
|
lpc47m_enable_serial(SERIAL_DEV, UART0_BASE);
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
2014-12-17 07:50:38 +00:00
|
|
|
|
|
|
|
void setup_pch_gpios(u16 gpiobase, const struct pch_gpio_map *gpio)
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
2014-12-17 07:50:45 +00:00
|
|
|
|
|
|
|
int board_eth_init(bd_t *bis)
|
|
|
|
{
|
|
|
|
return pci_eth_init(bis);
|
|
|
|
}
|