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 } 22