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>
This commit is contained in:

committed by
Daniel Schwierzeck

parent
e024566a55
commit
39e0f648d3
@@ -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])" \
|
||||
|
Reference in New Issue
Block a user