There are some drivers which call a "dmb" for a type of sync. Add that
as well to sandbox.

Signed-off-by: Tom Rini <tr...@konsulko.com>
---
 arch/sandbox/include/asm/io.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/sandbox/include/asm/io.h b/arch/sandbox/include/asm/io.h
index 72953828f96a..cd3f5d6fd401 100644
--- a/arch/sandbox/include/asm/io.h
+++ b/arch/sandbox/include/asm/io.h
@@ -14,6 +14,7 @@ static inline void sync(void)
 
 #define mb()   sync()
 #define dmb()  sync()
+#define wmb()  sync()
 
 enum sandboxio_size_t {
        SB_SIZE_8,
-- 
2.43.0

Reply via email to