[PATCH] sandbox: Add an additional dummy sync macro

Tom Rini trini at konsulko.com
Mon Aug 4 23:50:08 CEST 2025


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

Signed-off-by: Tom Rini <trini at 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



More information about the U-Boot mailing list