]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/intel/crownbay/crownbay.c
x86: crownbay: Enable on-board SMSC superio keyboard controller
[karo-tx-uboot.git] / board / intel / crownbay / crownbay.c
index ad2d5b69d6e6f28ae799363befef576874258c4f..d6de9fabc03ca07377774c6b30e5558ce9cbd750 100644 (file)
 #include <netdev.h>
 #include <smsc_lpc47m.h>
 
-#define SERIAL_DEV PNP_DEV(0x2e, 4)
-
 int board_early_init_f(void)
 {
-       lpc47m_enable_serial(SERIAL_DEV, UART0_BASE, UART0_IRQ);
+       lpc47m_enable_serial(PNP_DEV(LPC47M_IO_PORT, LPC47M_SP1),
+                            UART0_BASE, UART0_IRQ);
+       lpc47m_enable_kbc(PNP_DEV(LPC47M_IO_PORT, LPC47M_KBC),
+                         KBD_IRQ, MSE_IRQ);
 
        return 0;
 }