diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-07-09 14:23:17 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-07-23 16:25:13 +0200 |
commit | 322d96e29dd160a3b3824decfa8765513ce7c4e3 (patch) | |
tree | e6959f9b979e681e4ab0558b8d2c0f84e87941f8 /include/dma | |
parent | 3d75e777afe69733184e53a4d1cc27a6a306e6ac (diff) | |
download | barebox-322d96e29dd160a3b3824decfa8765513ce7c4e3.tar.gz barebox-322d96e29dd160a3b3824decfa8765513ce7c4e3.tar.xz |
dma: apbh: remove CONFIG_ARCH_DMA_PIO_WORDS
This define allows to overwrite DMA_PIO_WORDS with an architecture
specific value. Since this is unused and not clean anyway remove
it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/dma')
-rw-r--r-- | include/dma/apbh-dma.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/dma/apbh-dma.h b/include/dma/apbh-dma.h index 52747e2fbf..f10bb6f615 100644 --- a/include/dma/apbh-dma.h +++ b/include/dma/apbh-dma.h @@ -28,12 +28,6 @@ #include <linux/list.h> -#ifndef CONFIG_ARCH_DMA_PIO_WORDS -#define DMA_PIO_WORDS 15 -#else -#define DMA_PIO_WORDS CONFIG_ARCH_DMA_PIO_WORDS -#endif - #define MXS_DMA_ALIGNMENT 32 /* @@ -90,7 +84,8 @@ struct mxs_dma_cmd { dma_addr_t address; unsigned long alternate; }; - unsigned long pio_words[DMA_PIO_WORDS]; +#define APBH_DMA_PIO_WORDS 15 + unsigned long pio_words[APBH_DMA_PIO_WORDS]; }; /* |