mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-20 03:25:55 +02:00
ar71xx: don't register 8250 UART on the AR933x SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27058 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4cae90b75b
commit
771bbc30cf
@ -71,6 +71,11 @@ void __init ar71xx_add_device_uart(void)
|
|||||||
ar71xx_uart_data[0].uartclk = ar71xx_ahb_freq;
|
ar71xx_uart_data[0].uartclk = ar71xx_ahb_freq;
|
||||||
break;
|
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_AR9341:
|
||||||
case AR71XX_SOC_AR9342:
|
case AR71XX_SOC_AR9342:
|
||||||
case AR71XX_SOC_AR9344:
|
case AR71XX_SOC_AR9344:
|
||||||
@ -79,8 +84,8 @@ void __init ar71xx_add_device_uart(void)
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
BUG();
|
BUG();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
platform_device_register(&ar71xx_uart_device);
|
platform_device_register(&ar71xx_uart_device);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user