Browse Source

[POWERPC] Split powermac platforms into their own Kconfig file

Cleaning up arch/powerpc/Kconfig platform support.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala 18 years ago
parent
commit
9b8babf4a9
2 changed files with 21 additions and 19 deletions
  1. 1 19
      arch/powerpc/Kconfig
  2. 20 0
      arch/powerpc/platforms/powermac/Kconfig

+ 1 - 19
arch/powerpc/Kconfig

@@ -433,25 +433,7 @@ config PPC_CHRP
 	default y
 	default y
 
 
 source "arch/powerpc/platforms/52xx/Kconfig"
 source "arch/powerpc/platforms/52xx/Kconfig"
-
-config PPC_PMAC
-	bool "Apple PowerMac based machines"
-	depends on PPC_MULTIPLATFORM
-	select MPIC
-	select PPC_INDIRECT_PCI if PPC32
-	select PPC_MPC106 if PPC32
-	select PPC_NATIVE
-	default y
-
-config PPC_PMAC64
-	bool
-	depends on PPC_PMAC && POWER4
-	select MPIC
-	select U3_DART
-	select MPIC_BROKEN_U3
-	select GENERIC_TBSYNC
-	select PPC_970_NAP
-	default y
+source "arch/powerpc/platforms/powermac/Kconfig"
 
 
 config PPC_PREP
 config PPC_PREP
 	bool "PowerPC Reference Platform (PReP) based machines"
 	bool "PowerPC Reference Platform (PReP) based machines"

+ 20 - 0
arch/powerpc/platforms/powermac/Kconfig

@@ -0,0 +1,20 @@
+config PPC_PMAC
+	bool "Apple PowerMac based machines"
+	depends on PPC_MULTIPLATFORM
+	select MPIC
+	select PPC_INDIRECT_PCI if PPC32
+	select PPC_MPC106 if PPC32
+	select PPC_NATIVE
+	default y
+
+config PPC_PMAC64
+	bool
+	depends on PPC_PMAC && POWER4
+	select MPIC
+	select U3_DART
+	select MPIC_BROKEN_U3
+	select GENERIC_TBSYNC
+	select PPC_970_NAP
+	default y
+
+