diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-03-22 14:39:07 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-03-23 12:16:25 +0100 |
commit | 497a1f97cb156863f78673cb3a2cbc8a2b0bdb9e (patch) | |
tree | 02fc9d355491c2e4aaa869f34dd2c643c9956c9c /include/dma.h | |
parent | 06ac4c3b134ed302551fd78bb91a9f04efc6b1e3 (diff) | |
download | barebox-497a1f97cb156863f78673cb3a2cbc8a2b0bdb9e.tar.gz |
RISC-V: add cacheless HAS_DMA support
Define some stubs, so we can get virtio MMIO working on RISC-V
in QEMU. As we don't yet have MMU support, this is sufficient.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/dma.h')
-rw-r--r-- | include/dma.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dma.h b/include/dma.h index 07b79cd918..1b1cb3a407 100644 --- a/include/dma.h +++ b/include/dma.h @@ -11,6 +11,7 @@ #include <dma-dir.h> #include <asm/dma.h> +#include <driver.h> #define DMA_ADDRESS_BROKEN NULL |