mpc52xx: added support for the MPC5200 based MUC.MC52 board from MAN.
PATCH v2 1/1 mpc52xx: added support for the MPC5200 based MUC.MC52 board from MAN.
Hello,
changes since last Patch:
- fixed Codingstyle issues
[PATCH] mpc52xx: added support for the MPC5200 based MUC.MC52
board from MAN.
Signed-off-by Heiko Schocher <[email protected]>
--- MAINTAINERS | 1 + Makefile | 3 + board/mucmc52/Makefile | 53 ++++++ board/mucmc52/config.mk | 45 +++++ board/mucmc52/mucmc52.c | 400 +++++++++++++++++++++++++++++++++++++++++++++ cpu/mpc5xxx/fec.c | 6 +- include/configs/mucmc52.h | 376 ++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 882 insertions(+), 2 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 -0
@@ -369,6 +369,7 @@ Heiko Schocher <[email protected]> jupiter MPC5200 mgcoge MPC8247 mgsuvd MPC852 + mucmc52 MPC5200 municse MPC5200 sc3 PPC405GP uc101 MPC5200
Makefile +3 -0
@@ -620,6 +620,9 @@ mecp5200_config: unconfig motionpro_config: unconfig @$(MKCONFIG) motionpro ppc mpc5xxx motionpro +mucmc52_config: unconfig + @$(MKCONFIG) mucmc52 ppc mpc5xxx mucmc52 + munices_config: unconfig @$(MKCONFIG) munices ppc mpc5xxx munices
board/mucmc52/Makefile new file +53 -0
53 lines not on this page · raw message
board/mucmc52/config.mk new file +45 -0
45 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
@@ -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 +376 -0
376 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