The hardware feature is available on OMAP4430 and also expected to be 
in OMAP3630. Hence the feature flag will control the inclusion of the 
additional functions.

Addition of omap kconfig option CONFIG_OMAP_DMA_DESCRIPTOR_LOAD.

Signed-off-by: Venkatraman S <[email protected]>
---
 arch/arm/configs/omap_4430sdp_defconfig |    1 +
 arch/arm/plat-omap/Kconfig              |    7 +++++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/arm/configs/omap_4430sdp_defconfig 
b/arch/arm/configs/omap_4430sdp_defconfig
index 23e43ea..bea9dcb 100644
--- a/arch/arm/configs/omap_4430sdp_defconfig
+++ b/arch/arm/configs/omap_4430sdp_defconfig
@@ -182,6 +182,7 @@ CONFIG_ARCH_OMAP4=y
 #
 # OMAP Feature Selections
 #
+CONFIG_OMAP_DMA_DESCRIPTOR_LOAD=y
 # CONFIG_OMAP_RESET_CLOCKS is not set
 # CONFIG_OMAP_MUX is not set
 # CONFIG_OMAP_MCBSP is not set
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index efe85d0..885b8b8 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -53,6 +53,13 @@ config OMAP_DEBUG_POWERDOMAIN
          for every powerdomain register write.  However, the
          extra detail costs some memory.
 
+config OMAP_DMA_DESCRIPTOR_LOAD
+       bool "sDMA descriptor loading feature"
+       depends on ARCH_OMAP4
+       help
+         Say Y here if you want to include the DMA descriptor
+         autoloading feature. Supported only in OMAP4
+
 config OMAP_DEBUG_CLOCKDOMAIN
        bool "Emit debug messages from clockdomain layer"
        depends on ARCH_OMAP2 || ARCH_OMAP3
----
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to