diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-01-28 21:17:21 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-01-28 21:17:21 +0000 |
commit | 2239295892c8fc1b5224120366a641560cd9ace0 (patch) | |
tree | ce04e274d7dd5193dc8894d074b369e336ee2d81 /target/linux/ar7/files | |
parent | 6963fa06047e96e0c460a051370b5d7822d97774 (diff) | |
download | upstream-2239295892c8fc1b5224120366a641560cd9ace0.tar.gz upstream-2239295892c8fc1b5224120366a641560cd9ace0.tar.bz2 upstream-2239295892c8fc1b5224120366a641560cd9ace0.zip |
add UPF_IOREMAP flag to the uart port definition (#6532)
SVN-Revision: 19374
Diffstat (limited to 'target/linux/ar7/files')
-rw-r--r-- | target/linux/ar7/files/arch/mips/ar7/platform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar7/files/arch/mips/ar7/platform.c b/target/linux/ar7/files/arch/mips/ar7/platform.c index 1464ccdd6d..b636216a30 100644 --- a/target/linux/ar7/files/arch/mips/ar7/platform.c +++ b/target/linux/ar7/files/arch/mips/ar7/platform.c @@ -454,6 +454,7 @@ static int __init ar7_register_devices(void) uart_port[0].mapbase = AR7_REGS_UART0; uart_port[0].membase = ioremap(uart_port[0].mapbase, 256); uart_port[0].regshift = 2; + uart_port[0].flags = UPF_IOREMAP; res = early_serial_setup(&uart_port[0]); if (res) return res; @@ -469,6 +470,7 @@ static int __init ar7_register_devices(void) uart_port[1].mapbase = UR8_REGS_UART1; uart_port[1].membase = ioremap(uart_port[1].mapbase, 256); uart_port[1].regshift = 2; + uart_port[1].flags = UPF_IOREMAP; res = early_serial_setup(&uart_port[1]); if (res) return res; |