diff options
Diffstat (limited to 'arch/mips/alchemy/board-xxs1500.c')
-rw-r--r-- | arch/mips/alchemy/board-xxs1500.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/alchemy/board-xxs1500.c b/arch/mips/alchemy/board-xxs1500.c index 3fb814be0e91..0fc53e08a894 100644 --- a/arch/mips/alchemy/board-xxs1500.c +++ b/arch/mips/alchemy/board-xxs1500.c | |||
@@ -87,9 +87,9 @@ void __init board_setup(void) | |||
87 | alchemy_gpio2_enable(); | 87 | alchemy_gpio2_enable(); |
88 | 88 | ||
89 | /* Set multiple use pins (UART3/GPIO) to UART (it's used as UART too) */ | 89 | /* Set multiple use pins (UART3/GPIO) to UART (it's used as UART too) */ |
90 | pin_func = au_readl(SYS_PINFUNC) & ~SYS_PF_UR3; | 90 | pin_func = alchemy_rdsys(AU1000_SYS_PINFUNC) & ~SYS_PF_UR3; |
91 | pin_func |= SYS_PF_UR3; | 91 | pin_func |= SYS_PF_UR3; |
92 | au_writel(pin_func, SYS_PINFUNC); | 92 | alchemy_wrsys(pin_func, AU1000_SYS_PINFUNC); |
93 | 93 | ||
94 | /* Enable UART */ | 94 | /* Enable UART */ |
95 | alchemy_uart_enable(AU1000_UART3_PHYS_ADDR); | 95 | alchemy_uart_enable(AU1000_UART3_PHYS_ADDR); |