OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | --- a/arch/mips/ath79/dev-common.c |
2 | +++ b/arch/mips/ath79/dev-common.c |
||
3 | @@ -81,6 +81,15 @@ void __init ath79_register_uart(void) |
||
4 | |||
5 | uart_clk_rate = ath79_get_sys_clk_rate("uart"); |
||
6 | |||
7 | + if (soc_is_ar71xx()) |
||
8 | + ath79_gpio_function_enable(AR71XX_GPIO_FUNC_UART_EN); |
||
9 | + else if (soc_is_ar724x()) |
||
10 | + ath79_gpio_function_enable(AR724X_GPIO_FUNC_UART_EN); |
||
11 | + else if (soc_is_ar913x()) |
||
12 | + ath79_gpio_function_enable(AR913X_GPIO_FUNC_UART_EN); |
||
13 | + else if (soc_is_ar933x()) |
||
14 | + ath79_gpio_function_enable(AR933X_GPIO_FUNC_UART_EN); |
||
15 | + |
||
16 | if (soc_is_ar71xx() || |
||
17 | soc_is_ar724x() || |
||
18 | soc_is_ar913x() || |