summaryrefslogtreecommitdiff
path: root/src/arch/x86/dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/dma.c')
-rw-r--r--src/arch/x86/dma.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/arch/x86/dma.c b/src/arch/x86/dma.c
new file mode 100644
index 0000000000..b39ac2ce30
--- /dev/null
+++ b/src/arch/x86/dma.c
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <stdlib.h>
+
+int dma_coherent(const void *ptr)
+{
+ return 1;
+}