commit | 326d83780cdfe45d9f9cacf81677a69cd0aa1156 | [log] [tgz] |
---|---|---|
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | Sat Feb 08 10:10:02 2014 +0400 |
committer | Tom Rini <trini@ti.com> | Fri Feb 21 07:54:05 2014 -0500 |
tree | 47df35ebafc74a344237b143f9db82e964824ea0 | |
parent | 0c12620c185bbea4291d6bdb5a7360626024dd4e [diff] |
serial/serial_arc: switch from {read|write}l to {read|write}b accessors This is required for proper functionality on big-endian targets. Memory-mapped registres of ARC UART are not 32-bit words but 8-bit bytes so on little-endian target either acessor (_l or _b) works fine. On big-endian only _b accessors works as expected. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Vineet Gupta <vgupta@synopsys.com> Cc: Noam Camus <noamc@ezchip.com> Cc: Tom Rini <trini@ti.com>