u-boot-brain/drivers/usb
Nikhil Badola 91d7746df8 fsl/usb: Limit phy_type comparison to first four characters
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 <Shaohui.Xie@freescale.com>
Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
2014-02-24 15:23:57 -08:00
..
eth drivers: usb: convert makefiles to Kbuild style 2013-10-31 13:25:38 -04:00
gadget usb: mv_udc: Rename to ci_udc 2014-02-06 04:48:15 +01:00
host fsl/usb: Limit phy_type comparison to first four characters 2014-02-24 15:23:57 -08:00
musb drivers: usb: convert makefiles to Kbuild style 2013-10-31 13:25:38 -04:00
musb-new drivers: usb: convert makefiles to Kbuild style 2013-10-31 13:25:38 -04:00
phy drivers: usb: convert makefiles to Kbuild style 2013-10-31 13:25:38 -04:00
ulpi drivers: usb: convert makefiles to Kbuild style 2013-10-31 13:25:38 -04:00