diff options
author | York Sun <yorksun@freescale.com> | 2014-06-23 15:36:44 -0700 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-07-22 16:25:54 -0700 |
commit | 8340e7ac86ad3c59956e8f0bd627b741e5209439 (patch) | |
tree | 0460d0395f63b1cee89ae8dfe5479ace02bb5c50 /arch/powerpc/include/asm | |
parent | 6666017f44e39ec0385e3c7736b8c9af46cf4f08 (diff) | |
download | u-boot-imx-8340e7ac86ad3c59956e8f0bd627b741e5209439.zip u-boot-imx-8340e7ac86ad3c59956e8f0bd627b741e5209439.tar.gz u-boot-imx-8340e7ac86ad3c59956e8f0bd627b741e5209439.tar.bz2 |
driver/ddr: Fix DDR4 driver for ARM
Previously the driver was only tested on Power SoCs. Different barrier
instructions are needed for ARM SoCs.
Signed-off-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r-- | arch/powerpc/include/asm/io.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/include/asm/io.h index d8b7b97..a5257e9 100644 --- a/arch/powerpc/include/asm/io.h +++ b/arch/powerpc/include/asm/io.h @@ -123,6 +123,9 @@ static inline void isync(void) #define iobarrier_r() eieio() #define iobarrier_w() eieio() +#define mb() sync() +#define isb() isync() + /* * Non ordered and non-swapping "raw" accessors */ |