aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-07-11 09:20:16 -0600
committerTom Rini <trini@konsulko.com>2025-07-18 12:22:11 -0600
commit786e1f6dea07126b0265fcb6e8f5010d8d3e0e40 (patch)
tree54a564310b02fe862b4f65bc120220e8ba5f7a1f
parenta05c01c8e65dac94060d3a74220ac3da84e1cb82 (diff)
downloadu-boot-786e1f6dea07126b0265fcb6e8f5010d8d3e0e40.zip
u-boot-786e1f6dea07126b0265fcb6e8f5010d8d3e0e40.tar.gz
u-boot-786e1f6dea07126b0265fcb6e8f5010d8d3e0e40.tar.bz2
sandbox: Add dummy sync()
In order to compile more drivers, add an empty sync() function. Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--arch/sandbox/include/asm/io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/io.h b/arch/sandbox/include/asm/io.h
index 6e3f954..11ed89e 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,