Searched hist:"94 b5400e76f6a5100e2af88de274b0a6881bf94d" (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/drivers/serial/ |
H A D | serial_arc.c | diff 94b5400e76f6a5100e2af88de274b0a6881bf94d Sat Feb 08 00:10:02 CST 2014 Alexey Brodkin <Alexey.Brodkin@synopsys.com> 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>
|