From 0b821e09a8341fc894725f9d96b187e9ed07d7df Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Tue, 10 Jul 2012 13:07:39 +0800 Subject: [PATCH] rk: add RK_PL330_DMA config --- arch/arm/Kconfig | 2 +- arch/arm/plat-rk/Kconfig | 6 ++++++ arch/arm/plat-rk/Makefile | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index b7635e71087d..e9d0b6908301 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -876,7 +876,7 @@ config ARCH_RK30 select PLAT_RK select CPU_V7 select ARM_GIC - select PL330 + select RK_PL330_DMA select HAVE_SMP select MIGHT_HAVE_CACHE_L2X0 select ARM_ERRATA_764369 diff --git a/arch/arm/plat-rk/Kconfig b/arch/arm/plat-rk/Kconfig index 4313698fc5b1..b2413468965f 100644 --- a/arch/arm/plat-rk/Kconfig +++ b/arch/arm/plat-rk/Kconfig @@ -137,4 +137,10 @@ config RK_SRAM_DMA bool "Sound DMA buffer in internal SRAM" depends on ARCH_RK30 +config RK_PL330_DMA + bool + select PL330 + help + DMA API Driver for PL330 DMAC + endif diff --git a/arch/arm/plat-rk/Makefile b/arch/arm/plat-rk/Makefile index 1fd707849d73..bc9832edc8e0 100644 --- a/arch/arm/plat-rk/Makefile +++ b/arch/arm/plat-rk/Makefile @@ -1,7 +1,7 @@ obj-$(CONFIG_RK29_LAST_LOG) += last_log.o obj-$(CONFIG_USB_GADGET) += usb_detect.o obj-$(CONFIG_RK29_VPU) += vpu_service.o -obj-$(CONFIG_ARCH_RK30) += dma-pl330.o +obj-$(CONFIG_RK_PL330_DMA) += dma-pl330.o obj-$(CONFIG_FIQ) += fiq.o obj-$(CONFIG_FIQ_DEBUGGER) += rk_fiq_debugger.o obj-$(CONFIG_RK_EARLY_PRINTK) += early_printk.o ../kernel/debug.o -- 2.34.1