[PATCH v4] amba: consolidate PrimeCell magic

Linus Walleij linus.walleij at linaro.org
Mon Aug 22 08:20:02 EDT 2011


2011/8/22 Boojin Kim <boojin.kim at samsung.com>:

> I used 'exynos4_defconfig'. And then enables 'Device Drivers-> DMA Engine
> support -> DMA API Driver for PL330' option and modify code as below.
>
> diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
> index 2e3b3d3..763e846 100644
> --- a/drivers/dma/Kconfig
> +++ b/drivers/dma/Kconfig
> @@ -193,6 +193,7 @@ config ARCH_HAS_ASYNC_TX_FIND_CHANNEL
>  config PL330_DMA
>        tristate "DMA API Driver for PL330"
>        select DMA_ENGINE
> +       select ARM_AMBA
>        depends on PL330
>        help
>          Select if your platform has one or more PL330 DMACs.
> diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
> index 00eee59..fcad90c 100644
> --- a/drivers/dma/pl330.c
> +++ b/drivers/dma/pl330.c
> @@ -17,6 +17,7 @@
>  #include <linux/interrupt.h>
>  #include <linux/amba/bus.h>
>  #include <linux/amba/pl330.h>
> +#include <linux/scatterlist.h>
>
>  #define NR_DEFAULT_DESC        16

Thanks!

This looks like a separate patch to activate the DMA driver,
this should probably go into -rc.

Linus Walleij



More information about the linux-arm-kernel mailing list