[adm5120] uses AMBA PL010 driver for the serial ports from now
[openwrt.git] / target / linux / adm5120-2.6 / files / arch / mips / adm5120 / board.c
index a464383..17b88c0 100644 (file)
@@ -33,6 +33,7 @@
 
 #include <asm/mach-adm5120/adm5120_info.h>
 #include <asm/mach-adm5120/adm5120_defs.h>
+#include <asm/mach-adm5120/adm5120_irq.h>
 #include <asm/mach-adm5120/adm5120_board.h>
 #include <asm/mach-adm5120/adm5120_platform.h>
 
@@ -87,6 +88,10 @@ static int __init adm5120_board_setup(void)
        if (board->board_setup)
                board->board_setup();
 
+       /* register UARTs */
+       amba_device_register(&adm5120_uart0_device, &iomem_resource);
+       amba_device_register(&adm5120_uart1_device, &iomem_resource);
+
        /* register PCI controller */
        if (adm5120_package_bga())
                platform_device_register(&adm5120_pci_device);
This page took 0.026814 seconds and 4 git commands to generate.