Bin Meng | 08e484c | 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 | |
| 12 | #define SERIAL_DEV PNP_DEV(0x2e, 4) |
| 13 | |
| 14 | DECLARE_GLOBAL_DATA_PTR; |
| 15 | |
| 16 | int board_early_init_f(void) |
| 17 | { |
| 18 | lpc47m_enable_serial(SERIAL_DEV, UART0_BASE); |
| 19 | |
| 20 | return 0; |
| 21 | } |
Bin Meng | 9b64969 | 2014-12-17 15:50:38 +0800 | [diff] [blame^] | 22 | |
| 23 | void setup_pch_gpios(u16 gpiobase, const struct pch_gpio_map *gpio) |
| 24 | { |
| 25 | return; |
| 26 | } |