Bin Meng | b2e02d2 | 2014-12-17 15:50:36 +0800 | [diff] [blame] | 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 <smsc_lpc47m.h> |
| 11 | |
Bin Meng | b2e02d2 | 2014-12-17 15:50:36 +0800 | [diff] [blame] | 12 | int board_early_init_f(void) |
| 13 | { |
Bin Meng | 4dd02a7 | 2015-08-24 01:00:08 -0700 | [diff] [blame] | 14 | lpc47m_enable_serial(PNP_DEV(LPC47M_IO_PORT, LPC47M_SP1), |
| 15 | UART0_BASE, UART0_IRQ); |
| 16 | lpc47m_enable_kbc(PNP_DEV(LPC47M_IO_PORT, LPC47M_KBC), |
| 17 | KBD_IRQ, MSE_IRQ); |
Bin Meng | b2e02d2 | 2014-12-17 15:50:36 +0800 | [diff] [blame] | 18 | |
| 19 | return 0; |
| 20 | } |
Bin Meng | b71eec3 | 2014-12-17 15:50:38 +0800 | [diff] [blame] | 21 | |
| 22 | void setup_pch_gpios(u16 gpiobase, const struct pch_gpio_map *gpio) |
| 23 | { |
| 24 | return; |
| 25 | } |