Skip to contentSkip to conversation

sandbox: Add an additional dummy sync macro

PATCH In review Tom Rini 1 participant 2 messages Aug 4, 2025 – Aug 14, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 sandbox: Add an additional dummy sync macro

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

---
 arch/sandbox/include/asm/io.h | 1 +
 1 file changed, 1 insertion(+)
arch/sandbox/include/asm/io.h +1 -0
index 72953828f96a..cd3f5d6fd401 100644
@@ -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,
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 4 lines · Tom Rini

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

Applied to u-boot/next, thanks!

[1/1] sandbox: Add an additional dummy sync macro

      commit: d68db76b95b106227a40fcf41ebf4dccb2225a0e
Signature · 1 line
Tom