summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/include/debug/8250.S
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/include/debug/8250.S')
-rw-r--r--kernel/arch/arm/include/debug/8250.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/arch/arm/include/debug/8250.S b/kernel/arch/arm/include/debug/8250.S
index 7a2baf913..7f7446f6f 100644
--- a/kernel/arch/arm/include/debug/8250.S
+++ b/kernel/arch/arm/include/debug/8250.S
@@ -16,11 +16,14 @@
#ifdef CONFIG_DEBUG_UART_8250_WORD
.macro store, rd, rx:vararg
+ ARM_BE8(rev \rd, \rd)
str \rd, \rx
+ ARM_BE8(rev \rd, \rd)
.endm
.macro load, rd, rx:vararg
ldr \rd, \rx
+ ARM_BE8(rev \rd, \rd)
.endm
#else
.macro store, rd, rx:vararg