lkml.org 
[lkml]   [2006]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC 1/7][PATCH] AMBA DMA: Provide drivers/amba/Kconfig.
Date
The new file allows
- display of all AMBA peripherals on the platform
- configuration of the drivers for these.

Signed-off-by: Peter M Pearse <peter.pearse@arm.com>
---
diff -purN origin_arm/arch/arm/Kconfig arm_amba/arch/arm/Kconfig
--- origin_arm/arch/arm/Kconfig 2006-10-17 15:51:44.000000000 +0100
+++ arm_amba/arch/arm/Kconfig 2006-10-17 16:56:34.000000000 +0100
@@ -395,8 +395,7 @@ config FORCE_MAX_ZONEORDER

menu "Bus support"

-config ARM_AMBA
- bool
+source "drivers/amba/Kconfig"

config ISA
bool
diff -purN origin_arm/drivers/amba/Kconfig arm_amba/drivers/amba/Kconfig
--- origin_arm/drivers/amba/Kconfig 1970-01-01 01:00:00.000000000 +0100
+++ arm_amba/drivers/amba/Kconfig 2006-10-17 16:50:42.000000000 +0100
@@ -0,0 +1,32 @@
+#
+# This file holds details regarding the AMBA bus of the chosen platform
+#
+config ARM_AMBA
+ bool "Platform has an AMBA bus"
+ depends on ARCH_AAEC2000 || ARCH_INTEGRATOR || ARCH_REALVIEW ||
ARCH_VERSATILE || ARCH_EP93XX
+ ---help---
+ This motherboard has AMBA an bus.
+
+menu "AMBA devices"
+ depends on ARM_AMBA
+
+comment "Any AMBA devices on the platform are shown here"
+comment "Drivers for the devices may need to be selected in the relevant
configuration section"
+
+config HAS_ARM_AMBA_PL041
+ string "AMBA PrimeCell AACI AC'97" if (ARCH_VERSATILE_PB ||
MACH_VERSATILE_AB || ARCH_REALVIEW)
+ depends on ARM_AMBA
+ ---help---
+ This board has an AMBA PrimeCell Advanced Audio Codec Interface.
+ It's driver may be selected under sound/Advanced Linux Sound
Architecture/ALSA ARM devices.
+ (CONFIG_SND_ARMAACI)
+
+config HAS_ARM_AMBA_PL080
+ depends on ARM_AMBA
+ string "AMBA PrimeCell DMAC PL080" if (ARCH_VERSATILE_PB ||
MACH_VERSATILE_AB || ARCH_REALVIEW)
+ ---help---
+ This board has an AMBA PrimeCell PL080 DMA Controller.
+ There is no driver implemented in this kernel.
+
+endmenu
+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-30 13:01    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site