forked from OERV-BSP/u-boot
usb: host: echi-msm: Drop ulpi definitions
These are unused. Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org> Acked-by: Caleb Connolly <caleb.connolly@linaro.org> Tested-by: Sam Day <me@samcday.com> Link: https://patch.msgid.link/20250407-ehci-msm-fixes-v1-2-f8b30eb05d07@linaro.org Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
This commit is contained in:
committed by
Tom Rini
parent
fef8c84b57
commit
e4e47da7e8
@@ -24,7 +24,6 @@
|
||||
struct msm_ehci_priv {
|
||||
struct ehci_ctrl ctrl; /* Needed by EHCI */
|
||||
struct usb_ehci *ehci; /* Start of IP core*/
|
||||
struct ulpi_viewport ulpi_vp; /* ULPI Viewport */
|
||||
struct phy phy;
|
||||
struct clk iface_clk;
|
||||
struct clk core_clk;
|
||||
@@ -138,17 +137,11 @@ static int ehci_usb_of_to_plat(struct udevice *dev)
|
||||
{
|
||||
struct msm_ehci_priv *priv = dev_get_priv(dev);
|
||||
|
||||
priv->ulpi_vp.port_num = 0;
|
||||
priv->ehci = dev_read_addr_ptr(dev);
|
||||
|
||||
if (!priv->ehci)
|
||||
return -EINVAL;
|
||||
|
||||
/* Warning: this will not work if viewport address is > 64 bit due to
|
||||
* ULPI design.
|
||||
*/
|
||||
priv->ulpi_vp.viewport_addr = (phys_addr_t)&priv->ehci->ulpi_viewpoint;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user