]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
sandbox: Add dummy sync()
authorTom Rini <trini@konsulko.com>
Fri, 11 Jul 2025 15:20:16 +0000 (09:20 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 18 Jul 2025 18:22:11 +0000 (12:22 -0600)
In order to compile more drivers, add an empty sync() function.

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/sandbox/include/asm/io.h

index 6e3f9547fee73a648c89578689229307b44c5a54..11ed89e007103f59c98f50f1cee1342891cd5c99 100644 (file)
@@ -8,6 +8,10 @@
 
 #include <linux/types.h>
 
+static inline void sync(void)
+{
+}
+
 enum sandboxio_size_t {
        SB_SIZE_8,
        SB_SIZE_16,