[RFC 1/7][PATCH] AMBA DMA: Provide drivers/amba/Kconfig.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The new file allows
- display of all AMBA peripherals on the platform
- configuration of the drivers for these.

Signed-off-by: Peter M Pearse <[email protected]> 

---

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux