diff options
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/Makefile.mk | 1 | ||||
-rw-r--r-- | src/arch/x86/dma.c | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/arch/x86/Makefile.mk b/src/arch/x86/Makefile.mk index 04a0e58dbf..19945465bc 100644 --- a/src/arch/x86/Makefile.mk +++ b/src/arch/x86/Makefile.mk @@ -261,6 +261,7 @@ ramstage-y += ebda.c ramstage-y += exception.c ramstage-y += idt.S ramstage-$(CONFIG_IOAPIC) += ioapic.c +ramstage-y += dma.c ramstage-y += memcpy.c ramstage-$(CONFIG_ARCH_RAMSTAGE_X86_32) += memmove_32.c ramstage-$(CONFIG_ARCH_RAMSTAGE_X86_64) += memmove_64.S 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; +} |