summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-05-31 22:53:31 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-05-31 22:53:31 +0000
commite6fde61bec458f5f664320225eb0991d1ab5ee27 (patch)
tree87f392a96aad9a9dde26ba971d31909f5c9d3dae /target/linux
parent8f7541a0449f4072bac186efc48e0fd1849f75c8 (diff)
downloadmaster-31e0f0ae-e6fde61bec458f5f664320225eb0991d1ab5ee27.tar.gz
master-31e0f0ae-e6fde61bec458f5f664320225eb0991d1ab5ee27.tar.bz2
master-31e0f0ae-e6fde61bec458f5f664320225eb0991d1ab5ee27.zip
ar71xx: don't register 8250 UART on the AR933x SoCs
SVN-Revision: 27058
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/devices.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
index 86107ef365..da1eaa2e5f 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
@@ -71,6 +71,11 @@ void __init ar71xx_add_device_uart(void)
ar71xx_uart_data[0].uartclk = ar71xx_ahb_freq;
break;
+ case AR71XX_SOC_AR9330:
+ case AR71XX_SOC_AR9331:
+ /* These SoCs are using a different UART core */
+ return;
+
case AR71XX_SOC_AR9341:
case AR71XX_SOC_AR9342:
case AR71XX_SOC_AR9344:
@@ -79,8 +84,8 @@ void __init ar71xx_add_device_uart(void)
default:
BUG();
-
}
+
platform_device_register(&ar71xx_uart_device);
}