aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-mxc/uncompress.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-mxc/uncompress.h')
-rw-r--r--include/asm-arm/arch-mxc/uncompress.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-arm/arch-mxc/uncompress.h b/include/asm-arm/arch-mxc/uncompress.h
index ec5787d0e78c..42cc0cb3fefd 100644
--- a/include/asm-arm/arch-mxc/uncompress.h
+++ b/include/asm-arm/arch-mxc/uncompress.h
@@ -26,7 +26,6 @@
26#define __MXC_BOOT_UNCOMPRESS 26#define __MXC_BOOT_UNCOMPRESS
27 27
28#include <asm/hardware.h> 28#include <asm/hardware.h>
29#include <asm/processor.h>
30 29
31#define UART(x) (*(volatile unsigned long *)(serial_port + (x))) 30#define UART(x) (*(volatile unsigned long *)(serial_port + (x)))
32 31
@@ -62,7 +61,7 @@ static void putc(int ch)
62 } 61 }
63 62
64 while (!(UART(USR2) & USR2_TXFE)) 63 while (!(UART(USR2) & USR2_TXFE))
65 cpu_relax(); 64 barrier();
66 65
67 UART(TXR) = ch; 66 UART(TXR) = ch;
68} 67}