Skip to contentSkip to conversation

mucmc52: add support for the MPC5200 based MUC.MC52 board from MAN

PATCH Superseded Heiko Schocher 1 participant 1 message Aug 11, 2008 Kbuild

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mucmc52: add support for the MPC5200 based MUC.MC52 board from MAN

[PATCH] mucmc52: added support for the MPC5200 based MUC.MC52
board from MAN.

---
 MAINTAINERS               |    2 +-
 Makefile                  |    3 +
 board/mucmc52/Makefile    |   50 ++++++
 board/mucmc52/config.mk   |   42 +++++
 board/mucmc52/mucmc52.c   |  400 +++++++++++++++++++++++++++++++++++++++++++++
 cpu/mpc5xxx/fec.c         |    6 +-
 include/configs/mucmc52.h |  380 ++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 880 insertions(+), 3 deletions(-)
 create mode 100644 board/mucmc52/Makefile
 create mode 100644 board/mucmc52/config.mk
 create mode 100644 board/mucmc52/mucmc52.c
 create mode 100644 include/configs/mucmc52.h
MAINTAINERS +1 -1
index a3d70b1..c76027e 100644
@@ -362,11 +362,11 @@ Heiko Schocher <[email protected]>
 	jupiter			MPC5200
 	mgcoge			MPC8247
 	mgsuvd			MPC852
+	mucmc52			MPC5200
 	municse			MPC5200
 	sc3			PPC405GP
 	uc101			MPC5200
 
-
 Peter De Schrijver <[email protected]>
 
 	ML2			PPC4xx
Makefile +3 -0
index 8bfc891..e2abd48 100644
@@ -615,6 +615,9 @@ prs200_highboot_DDR_config:	unconfig
 mecp5200_config:  unconfig
 	@$(MKCONFIG) mecp5200  ppc mpc5xxx mecp5200 esd
 
+mucmc52_config:		unconfig
+	@$(MKCONFIG) mucmc52 ppc mpc5xxx mucmc52
+
 munices_config:	unconfig
 	@$(MKCONFIG) munices ppc mpc5xxx munices
 
board/mucmc52/Makefile new file +50 -0

50 lines not on this page · raw message

board/mucmc52/config.mk new file +42 -0

42 lines not on this page · raw message

board/mucmc52/mucmc52.c new file +400 -0

400 lines not on this page · raw message

cpu/mpc5xxx/fec.c +4 -2
index 82640ab..bf804ee 100644
@@ -474,8 +474,9 @@ static int mpc5xxx_fec_init_phy(struct eth_device *dev, bd_t * bis)
 		miiphy_write(dev->name, phyAddr, 0x0, 0x8000);
 		udelay(1000);
 
-#if defined(CONFIG_UC101)
-		/* Set the LED configuration Register for the UC101 Board */
+#if defined(CONFIG_UC101) || defined(CONFIG_MUCMC52)
+		/* Set the LED configuration Register for the UC101
+		   and MUCMC52 Board */
 		miiphy_write(dev->name, phyAddr, 0x14, 0x4122);
 #endif
 		if (fec->xcv_type == MII10) {
@@ -897,6 +898,7 @@ int mpc5xxx_fec_initialize(bd_t * bis)
 	defined(CONFIG_JUPITER)		|| \
 	defined(CONFIG_MCC200)		|| \
 	defined(CONFIG_MOTIONPRO)	|| \
+	defined(CONFIG_MUCMC52)		|| \
 	defined(CONFIG_O2DNT)		|| \
 	defined(CONFIG_PM520)		|| \
 	defined(CONFIG_TOP5200)		|| \
include/configs/mucmc52.h new file +380 -0

380 lines not on this page · raw message

Signature · 5 lines
1.5.6.1

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany