mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[adm5120] uses AMBA PL010 driver for the serial ports from now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8159 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user