Skip to content
Snippets Groups Projects
Commit 12a70e3c authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

ARM: UniPhier: use 32 bit register access for debug UART setting


For the same reason as commit d0c47b3e (serial: UniPhier: use
32 bit register access), use "str" instead of "strb" for the LCR
register setting.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent b6ef3a3f
No related branches found
No related tags found
No related merge requests found
/*
* Copyright (C) 2014 Panasonic Corporation
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
* Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
......@@ -17,8 +16,8 @@
.macro init_debug_uart, ra, rb, rc
addruart \ra, \rb, \rc
mov \rb, #UART_LCR_WLEN8
strb \rb, [\ra, #0x11]
mov \rb, #UART_LCR_WLEN8 << 8
str \rb, [\ra, #0x10]
ldr \rb, =DIVISOR
str \rb, [\ra, #0x24]
.endm
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment