diff options
author | Lucas Stach <dev@lynxeye.de> | 2015-03-05 22:50:01 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-03-06 07:52:02 +0100 |
commit | 381f034ed607042fa171673b6c4d0150745842e8 (patch) | |
tree | d019a16eb1dde42943f07d32828e520a2715154d /drivers/mtd/nand/nand_mxs.c | |
parent | a0c4e2203fdde7b2636eab3f1406ea66f0e0da19 (diff) | |
download | barebox-381f034ed607042fa171673b6c4d0150745842e8.tar.gz barebox-381f034ed607042fa171673b6c4d0150745842e8.tar.xz |
ARM: move DMA alloc functions to dma.h
This better separates the DMA from the MMU functionality.
Also move all drivers that only depends on asm/mmu.h for the alloc
functions over to the common header.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd/nand/nand_mxs.c')
-rw-r--r-- | drivers/mtd/nand/nand_mxs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nand_mxs.c b/drivers/mtd/nand/nand_mxs.c index 98fd9f2579..d5d64f369e 100644 --- a/drivers/mtd/nand/nand_mxs.c +++ b/drivers/mtd/nand/nand_mxs.c @@ -26,6 +26,7 @@ #include <linux/err.h> #include <of_mtd.h> #include <common.h> +#include <dma.h> #include <malloc.h> #include <errno.h> #include <driver.h> @@ -33,7 +34,6 @@ #include <io.h> #include <dma/apbh-dma.h> #include <stmp-device.h> -#include <asm/mmu.h> #include <mach/generic.h> #define MX28_BLOCK_SFTRST (1 << 31) |