Title: [7823] trunk/arch/blackfin: Blackfin: push BF5Xx configs down into mach-specific Kconfigs, and have BF54xM variants select the normal BF54x value
Revision
7823
Author
vapier
Date
2009-11-16 18:49:41 -0500 (Mon, 16 Nov 2009)

Log Message

Blackfin: push BF5Xx configs down into mach-specific Kconfigs, and have BF54xM variants select the normal BF54x value

Modified Paths

Diff

Modified: trunk/arch/blackfin/Kconfig (7822 => 7823)


--- trunk/arch/blackfin/Kconfig	2009-11-16 23:03:59 UTC (rev 7822)
+++ trunk/arch/blackfin/Kconfig	2009-11-16 23:49:41 UTC (rev 7823)
@@ -176,7 +176,7 @@
 	help
 	  BF539 Processor Support.
 
-config BF542
+config _BF542
 	bool "BF542"
 	help
 	  BF542 Processor Support.
@@ -186,7 +186,7 @@
 	help
 	  BF542 Processor Support.
 
-config BF544
+config _BF544
 	bool "BF544"
 	help
 	  BF544 Processor Support.
@@ -196,7 +196,7 @@
 	help
 	  BF544 Processor Support.
 
-config BF547
+config _BF547
 	bool "BF547"
 	help
 	  BF547 Processor Support.
@@ -206,7 +206,7 @@
 	help
 	  BF547 Processor Support.
 
-config BF548
+config _BF548
 	bool "BF548"
 	help
 	  BF548 Processor Support.
@@ -216,7 +216,7 @@
 	help
 	  BF548 Processor Support.
 
-config BF549
+config _BF549
 	bool "BF549"
 	help
 	  BF549 Processor Support.
@@ -310,31 +310,11 @@
 
 endchoice
 
-config BF51x
-	bool
-	depends on (BF512 || BF514 || BF516 || BF518)
-	default y
-
-config BF52x
-	bool
-	depends on (BF522 || BF523 || BF524 || BF525 || BF526 || BF527)
-	default y
-
 config BF53x
 	bool
 	depends on (BF531 || BF532 || BF533 || BF534 || BF536 || BF537)
 	default y
 
-config BF54xM
-	bool
-	depends on (BF542M || BF544M || BF547M || BF548M || BF549M)
-	default y
-
-config BF54x
-	bool
-	depends on (BF542 || BF544 || BF547 || BF548 || BF549 || BF54xM)
-	default y
-
 config MEM_GENERIC_BOARD
 	bool
 	depends on GENERIC_BOARD

Modified: trunk/arch/blackfin/mach-bf518/Kconfig (7822 => 7823)


--- trunk/arch/blackfin/mach-bf518/Kconfig	2009-11-16 23:03:59 UTC (rev 7822)
+++ trunk/arch/blackfin/mach-bf518/Kconfig	2009-11-16 23:49:41 UTC (rev 7823)
@@ -1,3 +1,7 @@
+config BF51x
+	def_bool y
+	depends on (BF512 || BF514 || BF516 || BF518)
+
 if (BF51x)
 
 source "arch/blackfin/mach-bf518/boards/Kconfig"

Modified: trunk/arch/blackfin/mach-bf527/Kconfig (7822 => 7823)


--- trunk/arch/blackfin/mach-bf527/Kconfig	2009-11-16 23:03:59 UTC (rev 7822)
+++ trunk/arch/blackfin/mach-bf527/Kconfig	2009-11-16 23:49:41 UTC (rev 7823)
@@ -1,3 +1,7 @@
+config BF52x
+	def_bool y
+	depends on (BF522 || BF523 || BF524 || BF525 || BF526 || BF527)
+
 if (BF52x)
 
 source "arch/blackfin/mach-bf527/boards/Kconfig"

Modified: trunk/arch/blackfin/mach-bf548/Kconfig (7822 => 7823)


--- trunk/arch/blackfin/mach-bf548/Kconfig	2009-11-16 23:03:59 UTC (rev 7822)
+++ trunk/arch/blackfin/mach-bf548/Kconfig	2009-11-16 23:49:41 UTC (rev 7823)
@@ -1,3 +1,27 @@
+config BF542
+	def_bool y
+	depends on _BF542 || BF542M
+config BF544
+	def_bool y
+	depends on _BF544 || BF544M
+config BF547
+	def_bool y
+	depends on _BF547 || BF547M
+config BF548
+	def_bool y
+	depends on _BF548 || BF548M
+config BF549
+	def_bool y
+	depends on _BF549 || BF549M
+
+config BF54xM
+	def_bool y
+	depends on (BF542M || BF544M || BF547M || BF548M || BF549M)
+
+config BF54x
+	def_bool y
+	depends on (BF542 || BF544 || BF547 || BF548 || BF549)
+
 if (BF54x)
 
 source "arch/blackfin/mach-bf548/boards/Kconfig"
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to