Title: [4068] trunk/arch/blackfin/Kconfig: TASK [#3478] when enable CONFIG_BLACKFIN_I2C_GPIO, select I2C and I2C_GPIO automatically
Revision
4068
Author
cooloney
Date
2007-12-26 01:40:19 -0600 (Wed, 26 Dec 2007)

Log Message

TASK [#3478] when enable CONFIG_BLACKFIN_I2C_GPIO, select I2C and I2C_GPIO automatically

Diffstat

 Kconfig |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

Modified Paths

Diff

Modified: trunk/arch/blackfin/Kconfig (4067 => 4068)


--- trunk/arch/blackfin/Kconfig	2007-12-26 07:18:00 UTC (rev 4067)
+++ trunk/arch/blackfin/Kconfig	2007-12-26 07:40:19 UTC (rev 4068)
@@ -525,10 +525,14 @@
 
 endchoice
 
-menu "Blackfin I2C GPIO SDA/SCL Selection"
-	depends on I2C_GPIO
+config I2C_BLACKFIN_GPIO
+	bool "Blackfin I2C GPIO SDA/SCL Selection"
+	default n
+	select I2C
+	select I2C_GPIO
 
 config I2C_GPIO_SDA
+	depends on I2C_BLACKFIN_GPIO
 	int "SDA GPIO pin number"
 	range 0 15 if (BF533 || BF532 || BF531)
 	range 0 47 if (BF534 || BF536 || BF537)
@@ -537,6 +541,7 @@
 	default 1 if BF561
 
 config I2C_GPIO_SCL
+	depends on I2C_BLACKFIN_GPIO
 	int "SCL GPIO pin number"
 	range 0 15 if (BF533 || BF532 || BF531)
 	range 0 47 if (BF534 || BF536 || BF537)
@@ -545,14 +550,13 @@
 	default 0 if BF561
 
 config I2C_GPIO_UDELAY
+	depends on I2C_BLACKFIN_GPIO
 	int "Cycle Delay in uSec"
 	range 5 100
 	default 40
 
 endmenu
 
-endmenu
-
 menu "Blackfin Kernel Optimizations"
 
 comment "Memory Optimizations"
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to