crownbay.c 408 B

12345678910111213141516171819
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
  4. */
  5. #include <common.h>
  6. #include <asm/ibmpc.h>
  7. #include <asm/pnp_def.h>
  8. #include <smsc_lpc47m.h>
  9. int board_early_init_f(void)
  10. {
  11. lpc47m_enable_serial(PNP_DEV(LPC47M_IO_PORT, LPC47M_SP1),
  12. UART0_BASE, UART0_IRQ);
  13. lpc47m_enable_kbc(PNP_DEV(LPC47M_IO_PORT, LPC47M_KBC),
  14. KBD_IRQ, MSE_IRQ);
  15. return 0;
  16. }