[PATCH] sandbox: Add dummy sync()
Tom Rini
trini at konsulko.com
Fri Jul 11 17:20:16 CEST 2025
In order to compile more drivers, add an empty sync() function.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
arch/sandbox/include/asm/io.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/sandbox/include/asm/io.h b/arch/sandbox/include/asm/io.h
index 6e3f9547fee7..11ed89e00710 100644
--- a/arch/sandbox/include/asm/io.h
+++ b/arch/sandbox/include/asm/io.h
@@ -8,6 +8,10 @@
#include <linux/types.h>
+static inline void sync(void)
+{
+}
+
enum sandboxio_size_t {
SB_SIZE_8,
SB_SIZE_16,
--
2.43.0
More information about the U-Boot
mailing list