Skip to contentSkip to conversation

ppc: Add support for AMCC Katmai (440SPe) board

PATCH New Stefan Roese 1 participant 1 message Apr 2, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 ppc: Add support for AMCC Katmai (440SPe) board

This patch adds initial support for the AMCC 440SPe eval board Katmai.

---
commit c0a317e96506a56d94c66d361d5488afe2ab17c7
tree bfc8cfbf8c87009ae859e4356a067da1683caec0
parent c268079210504e5c5a2ae94aa449aa244545ba22
author Stefan Roese <[email protected]> Mon, 02 Apr 2007 10:45:36 +0200 committer Stefan Roese <[email protected]> Mon, 02 Apr 2007 10:45:36 +0200

 arch/ppc/platforms/4xx/Kconfig  |   22 +-
 arch/ppc/platforms/4xx/Makefile |    3 
 arch/ppc/platforms/4xx/katmai.c |  525 +++++++++++++++++++++++++++++++++++++++
 arch/ppc/platforms/4xx/katmai.h |   68 +++++
 include/asm-ppc/ibm4xx.h        |   12 +
 5 files changed, 617 insertions(+), 13 deletions(-)
arch/ppc/platforms/4xx/Kconfig +14 -8
index 705ae56..c61c031 100644
@@ -80,17 +80,17 @@ config EBONY
 	help
 	  This option enables support for the IBM PPC440GP evaluation board.
 
-config LUAN
-	bool "Luan"
+config KATMAI
+	bool "Katmai"
 	select WANT_EARLY_SERIAL
 	help
-	  This option enables support for the IBM PPC440SP evaluation board.
+	  This option enables support for the AMCC PPC440SPe evaluation board.
 
-config YUCCA
-	bool "Yucca"
+config LUAN
+	bool "Luan"
 	select WANT_EARLY_SERIAL
 	help
-	  This option enables support for the AMCC PPC440SPe evaluation board.
+	  This option enables support for the IBM PPC440SP evaluation board.
 
 config OCOTEA
 	bool "Ocotea"
@@ -104,6 +104,12 @@ config TAISHAN
 	help
 	  This option enables support for the AMCC PPC440GX evaluation board.
 
+config YUCCA
+	bool "Yucca"
+	select WANT_EARLY_SERIAL
+	help
+	  This option enables support for the AMCC PPC440SPe evaluation board.
+
 endchoice
 
 config EP405PC
@@ -142,7 +148,7 @@ config 440SP
 
 config 440SPE
 	bool
-	depends on YUCCA
+	depends on KATMAI || YUCCA
 	default y
 
 config 440
@@ -179,7 +185,7 @@ config BOOKE
 
 config IBM_OCP
 	bool
-	depends on ASH || BAMBOO || BUBINGA || CPCI405 || EBONY || EP405 || LUAN || YUCCA || OCOTEA || REDWOOD_5 || REDWOOD_6 || SYCAMORE || TAISHAN || WALNUT
+	depends on ASH || BAMBOO || BUBINGA || CPCI405 || EBONY || EP405 || KATMAI || LUAN || OCOTEA || REDWOOD_5 || REDWOOD_6 || SYCAMORE || TAISHAN || WALNUT || YUCCA
 	default y
 
 config IBM_EMAC4
arch/ppc/platforms/4xx/Makefile +2 -1
index fa6610b..7e4ebeb 100644
@@ -6,8 +6,8 @@ obj-$(CONFIG_CPCI405)		+= cpci405.o
 obj-$(CONFIG_EBONY)		+= ebony.o
 obj-$(CONFIG_EP405)		+= ep405.o
 obj-$(CONFIG_BUBINGA)		+= bubinga.o
+obj-$(CONFIG_KATMAI)		+= katmai.o
 obj-$(CONFIG_LUAN)		+= luan.o
-obj-$(CONFIG_YUCCA)		+= yucca.o
 obj-$(CONFIG_OCOTEA)		+= ocotea.o
 obj-$(CONFIG_REDWOOD_5)		+= redwood5.o
 obj-$(CONFIG_REDWOOD_6)		+= redwood6.o
@@ -16,6 +16,7 @@ obj-$(CONFIG_TAISHAN)		+= taishan.o
 obj-$(CONFIG_WALNUT)		+= walnut.o
 obj-$(CONFIG_XILINX_ML300)	+= xilinx_ml300.o
 obj-$(CONFIG_XILINX_ML403)	+= xilinx_ml403.o
+obj-$(CONFIG_YUCCA)		+= yucca.o
 
 obj-$(CONFIG_405GP)		+= ibm405gp.o
 obj-$(CONFIG_REDWOOD_5)		+= ibmstb4.o
arch/ppc/platforms/4xx/katmai.c new file +525 -0

525 lines not on this page · raw message

arch/ppc/platforms/4xx/katmai.h new file +68 -0

68 lines not on this page · raw message

include/asm-ppc/ibm4xx.h +8 -4
index 92fd02d..4ba6087 100644
@@ -97,12 +97,12 @@ void ppc4xx_init(unsigned long r3, unsigned long r4, unsigned long r5,
 #include <platforms/4xx/ebony.h>
 #endif
 
-#if defined(CONFIG_LUAN)
-#include <platforms/4xx/luan.h>
+#if defined(CONFIG_KATMAI)
+#include <platforms/4xx/katmai.h>
 #endif
 
-#if defined(CONFIG_YUCCA)
-#include <platforms/4xx/yucca.h>
+#if defined(CONFIG_LUAN)
+#include <platforms/4xx/luan.h>
 #endif
 
 #if defined(CONFIG_OCOTEA)
@@ -113,6 +113,10 @@ void ppc4xx_init(unsigned long r3, unsigned long r4, unsigned long r5,
 #include <platforms/4xx/taishan.h>
 #endif
 
+#if defined(CONFIG_YUCCA)
+#include <platforms/4xx/yucca.h>
+#endif
+
 #ifndef __ASSEMBLY__
 #ifdef CONFIG_40x
 /*