summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-08-04 15:50:08 -0600
committerTom Rini <[email protected]>2025-08-14 10:58:43 -0600
commitd68db76b95b106227a40fcf41ebf4dccb2225a0e (patch)
tree6ef4d61952d6c0dcf319b6b36ca2c195eb18dee0 /arch
parent4266b8a2839f4e3eee2d7ce5f61af0c0ed0fe3b9 (diff)
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. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/sandbox/include/asm/io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/io.h b/arch/sandbox/include/asm/io.h
index 72953828f96..cd3f5d6fd40 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,