[PATCH][POWERPC] [002/006] Split powermac platforms into their own Kconfig file
Kumar Gala
galak at kernel.crashing.org
Sat Mar 17 02:22:50 EST 2007
>From 7b3e208ad495435a79a65dccf0324a14eef44ee4 Mon Sep 17 00:00:00 2001
From: Kumar Gala <galak at kernel.crashing.org>
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 <galak at kernel.crashing.org>
---
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
More information about the Linuxppc-dev
mailing list