]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
sandbox: Add an additional dummy sync macro
authorTom Rini <trini@konsulko.com>
Mon, 4 Aug 2025 21:50:08 +0000 (15:50 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 14 Aug 2025 16:58:43 +0000 (10:58 -0600)
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@konsulko.com>
arch/sandbox/include/asm/io.h

index 72953828f96a545423f3d639e532209020f5daa1..cd3f5d6fd40192d3228924c1a5546a970e842d5c 100644 (file)
@@ -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,