Skip to contentSkip to conversation

Add base support for the Freescale MPC8349E-mITX eval board

PATCH New Kim Phillips 1 participant 1 message Jun 30, 2006

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

PATCH 1/3 Add base support for the Freescale MPC8349E-mITX eval board

(This a resubmit of [PATCH 1/3] Add support for the Freescale MPC8349E-mITX eval board)

This is largely based on 8349 SYS code. The 2nd PHY (5-port switch) and SATA are untested (work in progress).

The code that uses rtc_class to remove rtc chip dependencies is missing from this patch; it will be applied to other platforms (including this one) in a subsequent patch.

---

 arch/powerpc/platforms/83xx/Kconfig       |   11 ++
 arch/powerpc/platforms/83xx/Makefile      |    1 
 arch/powerpc/platforms/83xx/mpc834x_itx.c |  156 +++++++++++++++++++++++++++++
 arch/powerpc/platforms/83xx/mpc834x_itx.h |   23 ++++
 4 files changed, 190 insertions(+), 1 deletions(-)
 create mode 100644 arch/powerpc/platforms/83xx/mpc834x_itx.c
 create mode 100644 arch/powerpc/platforms/83xx/mpc834x_itx.h

5ef1dfd8f459743b7aaa1e0db3a8b6549273e09f

arch/powerpc/platforms/83xx/Kconfig +10 -1
index 7675e67..5fe7b7f 100644
@@ -16,12 +16,21 @@ config MPC834x_SYS
 	  3 PCI slots.  The PIBs PCI initialization is the bootloader's
 	  responsiblilty.
 
+config MPC834x_ITX
+	bool "Freescale MPC834x ITX"
+	select DEFAULT_UIMAGE
+	help
+	  This option enables support for the MPC 834x ITX evaluation board.
+
+	  Be aware that PCI initialization is the bootloader's
+	  responsiblilty.
+
 endchoice
 
 config MPC834x
 	bool
 	select PPC_UDBG_16550
 	select PPC_INDIRECT_PCI
-	default y if MPC834x_SYS
+	default y if MPC834x_SYS || MPC834x_ITX
 
 endmenu
arch/powerpc/platforms/83xx/Makefile +1 -0
index 5c72367..9387a11 100644
@@ -4,3 +4,4 @@
 obj-y				:= misc.o
 obj-$(CONFIG_PCI)		+= pci.o
 obj-$(CONFIG_MPC834x_SYS)	+= mpc834x_sys.o
+obj-$(CONFIG_MPC834x_ITX)	+= mpc834x_itx.o
arch/powerpc/platforms/83xx/mpc834x_itx.c new file +156 -0

156 lines not on this page · raw message

arch/powerpc/platforms/83xx/mpc834x_itx.h new file +23 -0
new file mode 100644
index 0000000..174ca4e
@@ -0,0 +1,23 @@
+/*
+ * arch/powerpc/platforms/83xx/mpc834x_itx.h
+ *
+ * MPC834X ITX common board definitions
+ *
+ * Maintainer: Kumar Gala <[email protected]>
+ *
+ * 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_MPC83XX_ITX_H__
+#define __MACH_MPC83XX_ITX_H__
+
+#define PIRQA	MPC83xx_IRQ_EXT4
+#define PIRQB	MPC83xx_IRQ_EXT5
+#define PIRQC	MPC83xx_IRQ_EXT6
+#define PIRQD	MPC83xx_IRQ_EXT7
+
+#endif				/* __MACH_MPC83XX_ITX_H__ */
Signature · 1 line
1.2.4