aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120-2.6/files/arch/mips/adm5120/board.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2007-07-25 14:47:16 +0000
committerGabor Juhos <juhosg@openwrt.org>2007-07-25 14:47:16 +0000
commit445230cf7878d949ae35c931ae1cb4222d2a95c0 (patch)
treebe8bb313bded3cca461259f27ec2c19f496e0958 /target/linux/adm5120-2.6/files/arch/mips/adm5120/board.c
parent4ae75984ec4eb22a0c0470a6f36e283154b60d51 (diff)
downloadupstream-445230cf7878d949ae35c931ae1cb4222d2a95c0.tar.gz
upstream-445230cf7878d949ae35c931ae1cb4222d2a95c0.tar.bz2
upstream-445230cf7878d949ae35c931ae1cb4222d2a95c0.zip
uses AMBA PL010 driver for the serial ports from now
SVN-Revision: 8159
Diffstat (limited to 'target/linux/adm5120-2.6/files/arch/mips/adm5120/board.c')
-rw-r--r--target/linux/adm5120-2.6/files/arch/mips/adm5120/board.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/adm5120-2.6/files/arch/mips/adm5120/board.c b/target/linux/adm5120-2.6/files/arch/mips/adm5120/board.c
index a4643837c3..17b88c0011 100644
--- a/target/linux/adm5120-2.6/files/arch/mips/adm5120/board.c
+++ b/target/linux/adm5120-2.6/files/arch/mips/adm5120/board.c
@@ -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);