MA-14520 AIY: Limit USB to High Speed
* There is an enumeration problem when using superspeed. * This doesn't fix it with all hubs, but can enable fastboot to work on some 3.0 hosts. Change-Id: If4a603126b945bd8f84c3d6e975e1185530eb193
This commit is contained in:
parent
1f27791878
commit
7191db0835
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2016 Freescale Semiconductor, Inc.
|
* Copyright 2016 Freescale Semiconductor, Inc.
|
||||||
* Copyright 2017-2018 NXP
|
* Copyright 2017-2019 NXP
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: GPL-2.0+
|
* SPDX-License-Identifier: GPL-2.0+
|
||||||
*/
|
*/
|
||||||
|
|
@ -275,7 +275,11 @@ int board_phy_config(struct phy_device *phydev)
|
||||||
#define USB_PHY_CTRL2_TXENABLEN0 BIT(8)
|
#define USB_PHY_CTRL2_TXENABLEN0 BIT(8)
|
||||||
|
|
||||||
static struct dwc3_device dwc3_device_data = {
|
static struct dwc3_device dwc3_device_data = {
|
||||||
|
#ifdef CONFIG_SPL_BUILD
|
||||||
|
.maximum_speed = USB_SPEED_HIGH,
|
||||||
|
#else
|
||||||
.maximum_speed = USB_SPEED_SUPER,
|
.maximum_speed = USB_SPEED_SUPER,
|
||||||
|
#endif
|
||||||
.base = USB1_BASE_ADDR,
|
.base = USB1_BASE_ADDR,
|
||||||
.dr_mode = USB_DR_MODE_PERIPHERAL,
|
.dr_mode = USB_DR_MODE_PERIPHERAL,
|
||||||
.index = 0,
|
.index = 0,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue