summaryrefslogtreecommitdiff
path: root/arch/mips/mach-octeon/include/mach/octeon_ddr.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2021-04-07 09:12:27 +0200
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2021-04-23 21:22:55 +0200
commit39e0f648d347a884e14e3c01f31f6d74b981672c (patch)
tree8ce63bd8788bd7d010e93d2aa8a3f5fa1575e3e9 /arch/mips/mach-octeon/include/mach/octeon_ddr.h
parente024566a554388782a5764671152f2f4943ba82c (diff)
mips: octeon: Move CVMX_SYNC from octeon_ddr.h to cvmx-regs.h
This makes is easier to use this macro from non-DDR related files. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/mips/mach-octeon/include/mach/octeon_ddr.h')
-rw-r--r--arch/mips/mach-octeon/include/mach/octeon_ddr.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/mach-octeon/include/mach/octeon_ddr.h b/arch/mips/mach-octeon/include/mach/octeon_ddr.h
index 97e7b554ff7..0b5be06daab 100644
--- a/arch/mips/mach-octeon/include/mach/octeon_ddr.h
+++ b/arch/mips/mach-octeon/include/mach/octeon_ddr.h
@@ -120,8 +120,6 @@ static inline int ddr_verbose(void)
#define CVMX_TMP_STR(x) CVMX_TMP_STR2(x)
#define CVMX_TMP_STR2(x) #x
-#define CVMX_SYNC asm volatile ("sync" : : : "memory")
-
#define CVMX_CACHE(op, address, offset) \
asm volatile ("cache " CVMX_TMP_STR(op) ", " \
CVMX_TMP_STR(offset) "(%[rbase])" \