diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2007-07-25 14:47:16 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2007-07-25 14:47:16 +0000 |
commit | 445230cf7878d949ae35c931ae1cb4222d2a95c0 (patch) | |
tree | be8bb313bded3cca461259f27ec2c19f496e0958 /target/linux/adm5120-2.6/files/arch/mips/adm5120/board.c | |
parent | 4ae75984ec4eb22a0c0470a6f36e283154b60d51 (diff) | |
download | upstream-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.c | 5 |
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); |