]> git.sur5r.net Git - u-boot/commitdiff
ARM: UniPhier: use 32 bit register access for debug UART setting
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 29 May 2015 08:30:02 +0000 (17:30 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 30 May 2015 17:55:34 +0000 (02:55 +0900)
For the same reason as commit d0c47b3ef7c5 (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>
arch/arm/mach-uniphier/include/mach/debug-uart.S

index af55feed04799b3bf013dc0095c096f496ef1cee..d2b431f5443ffd68864218dc7486fbe6d8f2a73d 100644 (file)
@@ -1,6 +1,5 @@
 /*
- * 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