blob: 54670d3ac7ec2b6be6c1a3bd924cdc3c515f0265 [file] [log] [blame]
Bin Mengb2e02d22014-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>
10#include <smsc_lpc47m.h>
11
12#define SERIAL_DEV PNP_DEV(0x2e, 4)
13
14DECLARE_GLOBAL_DATA_PTR;
15
16int board_early_init_f(void)
17{
18 lpc47m_enable_serial(SERIAL_DEV, UART0_BASE);
19
20 return 0;
21}
Bin Mengb71eec32014-12-17 15:50:38 +080022
23void setup_pch_gpios(u16 gpiobase, const struct pch_gpio_map *gpio)
24{
25 return;
26}