Skip to contentSkip to conversation

add support for the mpc832x mds board (try 2)

PATCH In review Kim Phillips 1 participant 1 message Oct 4, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 7/7 add support for the mpc832x mds board (try 2)

Add support for MPC832x MDS evaluation board (get_bcsr removed).

This patch depends on the 8360+QE lib patches in this series by Leo Li.

The MPC832x processors (MPC8323E, MPC8323, MPC8321E, MPC8321) sport the e300c2 core plus a QUICC Engine (QE). This patch adds support for the 832x MDS evaluation board.

The 832x MDS dts and defconfig files are pending more tests.

---
 arch/powerpc/platforms/83xx/Kconfig       |   26 ++++
 arch/powerpc/platforms/83xx/Makefile      |    2 
 arch/powerpc/platforms/83xx/mpc832x_mds.c |  210 +++++++++++++++++++++++++++++
 arch/powerpc/platforms/83xx/mpc832x_mds.h |   17 ++
 4 files changed, 255 insertions(+), 0 deletions(-)
arch/powerpc/platforms/83xx/Kconfig +26 -0
index 5fe7b7f..7edb6b4 100644
@@ -5,6 +5,13 @@ choice
 	prompt "Machine Type"
 	default MPC834x_SYS
 
+config MPC832x_MDS
+	bool "Freescale MPC832x MDS"
+	select DEFAULT_UIMAGE
+	select QUICC_ENGINE
+	help
+	  This option enables support for the MPC832x MDS evaluation board.
+
 config MPC834x_SYS
 	bool "Freescale MPC834x SYS"
 	select DEFAULT_UIMAGE
@@ -25,12 +32,31 @@ config MPC834x_ITX
 	  Be aware that PCI initialization is the bootloader's
 	  responsiblilty.
 
+config MPC8360E_PB
+	bool "Freescale MPC8360E PB"
+	select DEFAULT_UIMAGE
+	select QUICC_ENGINE
+	help
+	  This option enables support for the MPC836x EMDS Processor Board.
+
 endchoice
 
+config PPC_MPC832x
+	bool
+	select PPC_UDBG_16550
+	select PPC_INDIRECT_PCI
+	default y if MPC832x_MDS
+
 config MPC834x
 	bool
 	select PPC_UDBG_16550
 	select PPC_INDIRECT_PCI
 	default y if MPC834x_SYS || MPC834x_ITX
 
+config PPC_MPC836x
+	bool
+	select PPC_UDBG_16550
+	select PPC_INDIRECT_PCI
+	default y if MPC8360E_PB
+
 endmenu
arch/powerpc/platforms/83xx/Makefile +2 -0
index 9387a11..5cf1ac0 100644
@@ -3,5 +3,7 @@ # Makefile for the PowerPC 83xx linux ke
 #
 obj-y				:= misc.o
 obj-$(CONFIG_PCI)		+= pci.o
+obj-$(CONFIG_MPC832x_MDS)	+= mpc832x_mds.o
 obj-$(CONFIG_MPC834x_SYS)	+= mpc834x_sys.o
 obj-$(CONFIG_MPC834x_ITX)	+= mpc834x_itx.o
+obj-$(CONFIG_MPC8360E_PB)	+= mpc8360e_pb.o
arch/powerpc/platforms/83xx/mpc832x_mds.c new file +210 -0

210 lines not on this page · raw message

arch/powerpc/platforms/83xx/mpc832x_mds.h new file +17 -0
new file mode 100644
index 0000000..bc0d4d8
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) Freescale Semicondutor, Inc. 2006. All rights reserved.
+ *
+ * Description:
+ * MPC832x MDS board specific header.
+ *
+ * This program is free software; you can redistribute  it and/or modify it
+ * under  the terms of  the GNU General  Public License as published by the
+ * Free Software Foundation;  either version 2 of the  License, or (at your
+ * option) any later version.
+ *
+ */
+
+#ifndef __MACH_MPC832x_MDS_H__
+#define __MACH_MPC832x_MDS_H__
+
+#endif				/* __MACH_MPC832x_MDS_H__ */
Signature · 1 line
1.4.2.3