diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-07-09 14:20:00 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-07-23 16:25:13 +0200 |
commit | 3d75e777afe69733184e53a4d1cc27a6a306e6ac (patch) | |
tree | 797d5421cf9df90352c3b5f8420c513380f41407 | |
parent | 6ce6ce79b922d151327a498aefe22aefb803e158 (diff) | |
download | barebox-3d75e777afe69733184e53a4d1cc27a6a306e6ac.tar.gz barebox-3d75e777afe69733184e53a4d1cc27a6a306e6ac.tar.xz |
dma: apbh-dma: move header file to common location
As the apbh dma engine is also found on i.MX6 move the header file
out of MXS specific directories.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | drivers/dma/apbh_dma.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/nand_mxs.c | 2 | ||||
-rw-r--r-- | include/dma/apbh-dma.h (renamed from arch/arm/mach-mxs/include/mach/dma.h) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/apbh_dma.c b/drivers/dma/apbh_dma.c index 2354364161..b0a20b8029 100644 --- a/drivers/dma/apbh_dma.c +++ b/drivers/dma/apbh_dma.c @@ -20,12 +20,12 @@ #include <common.h> #include <malloc.h> #include <errno.h> +#include <dma/apbh-dma.h> #include <stmp-device.h> #include <asm/mmu.h> #include <asm/io.h> #include <mach/clock.h> #include <mach/imx-regs.h> -#include <mach/dma.h> #define HW_APBHX_CTRL0 0x000 #define BM_APBH_CTRL0_APB_BURST8_EN (1 << 29) diff --git a/drivers/mtd/nand/nand_mxs.c b/drivers/mtd/nand/nand_mxs.c index 046fcc30b3..f654af1fbf 100644 --- a/drivers/mtd/nand/nand_mxs.c +++ b/drivers/mtd/nand/nand_mxs.c @@ -28,12 +28,12 @@ #include <errno.h> #include <driver.h> #include <init.h> +#include <dma/apbh-dma.h> #include <stmp-device.h> #include <asm/mmu.h> #include <asm/io.h> #include <mach/clock.h> #include <mach/imx-regs.h> -#include <mach/dma.h> #define MX28_BLOCK_SFTRST (1 << 31) #define MX28_BLOCK_CLKGATE (1 << 30) diff --git a/arch/arm/mach-mxs/include/mach/dma.h b/include/dma/apbh-dma.h index 52747e2fbf..52747e2fbf 100644 --- a/arch/arm/mach-mxs/include/mach/dma.h +++ b/include/dma/apbh-dma.h |