[U-Boot] [PATCH] mpc83xx: restrict UTMI PHY configuration to 831x parts

Kim Phillips kim.phillips at freescale.com
Tue Apr 5 03:26:19 CEST 2011


On Mon, 4 Apr 2011 12:52:25 +0200
Andre Schwarz <andre.schwarz at matrix-vision.de> wrote:

> > i.e, to those parts that have PHY_CLK_VALID bits in their USB
> > CONTROL registers:
> >
> > mpc8308	 WU_INT, PHY_CLK_SEL, USB_EN, WU_INT_EN, ULPI_INT_EN
> > mpc831x	 PHY_CLK_VALID, WU_INT, CLKIN_SEL, PHY_CLK_SEL, UTMI_PHY_EN,
> > 	 PLL_RESET, REFSEL, OTG_PORT, KEEP_OTG_ON, LSF_EN, USB_EN,
> > 	 ULPI_INT_EN
> > mpc834x	 USB_EN, ULPI_INT1_EN (MPH only), ULPI_INT0_EN
> > mpc837x	 USB_EN, ULPI_INT_EN
> >
> > (mpc832x, mpc8360 don't have a USB_EHCI_FSL compatible controller)
> >
> > this prevents non-831x parts from never completing cpu_init_f(),
> > because the (non-existent) PHY_CLK_VALID bit never gets set.
> >
> > Reported-by: Andre Schwarz<andre.schwarz at matrix-vision.de>
> > Signed-off-by: Kim Phillips<kim.phillips at freescale.com>
> Tested-by: Andre Schwarz <andre.schwarz at matrix-vision.de>
> 
> Works on MPC8343 and MPC8377.

applied to mpc83xx/master.

thanks for testing!

Kim



More information about the U-Boot mailing list