25 Feb, 2014

1 commit

  • Use first four characters for phy_type comparison. Strcmp() should not
    be used to check the phy_type string which maybe parsed by hwconfig_subarg().
    Hwconfig_subarg() returns part of hwconfig string starting from
    phy_type value till the end of the string. Since phy_type could be
    either "utmi" or "ulpi", strncmp() should be used so that a comparison
    of "utmi;fsl_ddr:bank_intlv=auto" with "utmi" will succeed.

    Signed-off-by: Shaohui Xie
    Signed-off-by: Nikhil Badola
    Reviewed-by: York Sun

    Nikhil Badola
     

25 Oct, 2013

1 commit


21 Oct, 2013

1 commit


24 Jul, 2013

1 commit


22 Oct, 2012

1 commit

  • when missing USB PHY clock, u-boot will hang during USB
    initialization when issuing "usb start". We should check
    USBGP[PHY_CLK_VALID] bit to avoid CPU hanging in this case.

    Due to controller issue of PHY_CLK_VALID in ULPI mode, we set
    USB_EN before checking PHY_CLK_VALID, otherwise PHY_CLK_VALID
    doesn't work.

    Signed-off-by: Shengzhou Liu
    Acked-by: Marek Vasut

    Shengzhou Liu
     

16 Oct, 2012

1 commit

  • Kill off ehci-core.h
    It was used to specify some static controller data. To support more than
    one controller being active at any time we have to carry the controller
    data ourselfes. Change the ehci interface accordingly.

    NOTE: OMAP implemented the ehci stuff a bit backwards and should be fixed
    to do the same thing as other platforms. But the change for now is at least
    compile clean.

    Signed-off-by: Lucas Stach
    Reviewed-by: Marek Vasut

    Lucas Stach
     

11 Nov, 2011

1 commit


30 Sep, 2011

1 commit

  • Add UTMI and ULPI PHY support for USB controller on qoriq series of
    processors with internal UTMI PHY implemented, for example P1010/P1014
    - Use both getenv() and hwconfig to get USB phy type till getenv()
    is depricated
    - Introduce CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY to specify if soc
    has internal UTMI phy

    Signed-off-by: Ramneek Mehresh
    Acked-by: Remy Bohmer
    Signed-off-by: Kumar Gala

    Ramneek Mehresh
     

19 Oct, 2010

1 commit


10 Jul, 2009

1 commit


13 Jun, 2009

3 commits

  • The following patch reorganizes/reworks the USB support for mpc83xx
    as under:-

    * Moves the 83xx USB clock init from drivers/usb/host/ehci-fsl.c to
    cpu/mpx83xx/cpu_init.c

    * Board specific usb_phy_type is read from the environment

    * Adds USB EHCI specific structure in include/usb/ehci-fsl.h

    * Copyrights revamped in most of the following files

    Signed-off-by: Vivek Mahajan
    Signed-off-by: Remy Bohmer

    Vivek Mahajan
     
  • The following patch moves 8xxx-specifc USB #defines from
    drivers/usb/host/ehci-fsl.h to include/usb.

    Signed-off-by: Vivek Mahajan
    Signed-off-by: Remy Bohmer

    Vivek Mahajan
     
  • To prepare for the 85xx USB support, which requires interface enablement
    only once in (specified) order, no different than instructions for
    enabling the interface under 83xx. It is unknown why the original author
    enabled the interface twice (checked for references in errata, etc).

    Signed-off-by: Vivek Mahajan
    Signed-off-by: Remy Bohmer

    Vivek Mahajan
     

07 Apr, 2009

1 commit