[PATCH 1/3] add USB setup code for 8349emds PB

Li Yang-r58472 LeoLi at freescale.com
Wed Feb 7 16:16:18 EST 2007


> 
> > endmenu
> > diff --git a/arch/powerpc/platforms/83xx/mpc834x_sys.c b/arch/
> > powerpc/platforms/83xx/mpc834x_sys.c
> > index 80b735a..aff7ae3 100644
> > --- a/arch/powerpc/platforms/83xx/mpc834x_sys.c
> > +++ b/arch/powerpc/platforms/83xx/mpc834x_sys.c
> > @@ -35,14 +35,88 @@
> > #include <asm/prom.h>
> > #include <asm/udbg.h>
> > #include <sysdev/fsl_soc.h>
> > +#include <linux/fsl_devices.h>
> > #include "mpc83xx.h"
> > +#include "mpc834x_sys.h"
> > #ifndef CONFIG_PCI
> > unsigned long isa_io_base = 0;
> > unsigned long isa_mem_base = 0;
> > #endif
> > +static volatile u8 *bcsr_regs = NULL;
> > +
> > +#ifdef CONFIG_834x_USB_SUPPORT
> > +/* Note: This is only for PB, not for PB+PIB
> > + * On PB only port0 is connected using ULPI */
> 
> Can you tell if we are on PIB by what type of phy is used?

No, PIB supports all PHYs including ULPI.  We only deal with PB only
case for now, as PIB is far more complex.

- Leo



More information about the Linuxppc-dev mailing list