summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorArun Chandran <achandran@mvista.com>2015-06-12 12:23:24 +0530
committerMichal Simek <michal.simek@xilinx.com>2015-07-22 09:37:58 +0200
commit974a2aba99d29bada9212134e7565d2364967636 (patch)
tree1ac1e881c6c34388160c3d81060ddb4c6d67c8ac /arch/arm
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754 (diff)
downloadblackbird-op-linux-974a2aba99d29bada9212134e7565d2364967636.tar.gz
blackbird-op-linux-974a2aba99d29bada9212134e7565d2364967636.zip
ARM: zynq: Fix earlyprintk in big endian mode
earlyprintk messages are not appearing on the terminal emulator during a big endian kernel boot. In BE mode sending full words to UART will result in unprintable characters as they are byte swapped versions of printable ones. So send only bytes. Signed-off-by: Arun Chandran <achandran@mvista.com> Tested-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/debug/zynq.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/debug/zynq.S b/arch/arm/include/debug/zynq.S
index bd13dedbdeff..de86b9247564 100644
--- a/arch/arm/include/debug/zynq.S
+++ b/arch/arm/include/debug/zynq.S
@@ -38,7 +38,7 @@
.endm
.macro senduart,rd,rx
- str \rd, [\rx, #UART_FIFO_OFFSET] @ TXDATA
+ strb \rd, [\rx, #UART_FIFO_OFFSET] @ TXDATA
.endm
.macro waituart,rd,rx
OpenPOWER on IntegriCloud