mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-20 22:21:41 +00:00
ARM: UniPhier: use 32 bit register access for debug UART setting
For the same reason as commit d0c47b3ef7
(serial: UniPhier: use
32 bit register access), use "str" instead of "strb" for the LCR
register setting.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
b6ef3a3f04
commit
12a70e3c96
1 changed files with 3 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2014 Panasonic Corporation
|
* Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
|
||||||
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: GPL-2.0+
|
* SPDX-License-Identifier: GPL-2.0+
|
||||||
*/
|
*/
|
||||||
|
@ -17,8 +16,8 @@
|
||||||
|
|
||||||
.macro init_debug_uart, ra, rb, rc
|
.macro init_debug_uart, ra, rb, rc
|
||||||
addruart \ra, \rb, \rc
|
addruart \ra, \rb, \rc
|
||||||
mov \rb, #UART_LCR_WLEN8
|
mov \rb, #UART_LCR_WLEN8 << 8
|
||||||
strb \rb, [\ra, #0x11]
|
str \rb, [\ra, #0x10]
|
||||||
ldr \rb, =DIVISOR
|
ldr \rb, =DIVISOR
|
||||||
str \rb, [\ra, #0x24]
|
str \rb, [\ra, #0x24]
|
||||||
.endm
|
.endm
|
||||||
|
|
Loading…
Add table
Reference in a new issue