Thread (11 messages) flat view 11 messages, 3 authors, 2007-03-16
STALE7108d

[PATCH][POWERPC] [002/006] Split powermac platforms into their own Kconfig file

From: Kumar Gala <hidden>
Date: 2007-03-16 15:26:11
Subsystem: linux for power macintosh, linux for powerpc (32-bit and 64-bit), the rest · Maintainers: Madhavan Srinivasan, Linus Torvalds

From 7b3e208ad495435a79a65dccf0324a14eef44ee4 Mon Sep 17 00:00:00 2001
From: Kumar Gala <redacted>
Date: Thu, 15 Mar 2007 18:15:07 -0500
Subject: [PATCH] [POWERPC] Split powermac platforms into their own Kconfig file

Cleaning up arch/powerpc/Kconfig platform support.

Signed-off-by: Kumar Gala <redacted>
---
 arch/powerpc/Kconfig                    |   20 +-------------------
 arch/powerpc/platforms/powermac/Kconfig |   20 ++++++++++++++++++++
 2 files changed, 21 insertions(+), 19 deletions(-)
 create mode 100644 arch/powerpc/platforms/powermac/Kconfig
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index b9bffe7..ecc4302 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -433,25 +433,7 @@ config PPC_CHRP
 	default y

 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
 	bool "PowerPC Reference Platform (PReP) based machines"
diff --git a/arch/powerpc/platforms/powermac/Kconfig b/arch/powerpc/platforms/powermac/Kconfig
new file mode 100644
index 0000000..02d9c7d
--- /dev/null
+++ b/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
+
+
-- 
1.5.0.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help