mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 17:22:22 +02:00
Correct SPL uses of USB_MUSB_HOST
This converts 2 usages of this option to the non-SPL form, since there is no SPL_USB_MUSB_HOST defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -19,7 +19,7 @@ static int ab8500_usb_phy_power_on(struct phy *phy)
|
|||||||
struct udevice *dev = phy->dev;
|
struct udevice *dev = phy->dev;
|
||||||
uint set = AB8500_BIT_PHY_CTRL_DEVICE_EN;
|
uint set = AB8500_BIT_PHY_CTRL_DEVICE_EN;
|
||||||
|
|
||||||
if (CONFIG_IS_ENABLED(USB_MUSB_HOST))
|
if (IS_ENABLED(CONFIG_USB_MUSB_HOST))
|
||||||
set = AB8500_BIT_PHY_CTRL_HOST_EN;
|
set = AB8500_BIT_PHY_CTRL_HOST_EN;
|
||||||
|
|
||||||
return pmic_clrsetbits(dev->parent, AB8500_USB_PHY_CTRL_REG,
|
return pmic_clrsetbits(dev->parent, AB8500_USB_PHY_CTRL_REG,
|
||||||
|
@@ -231,7 +231,7 @@ static int omap2430_musb_probe(struct udevice *dev)
|
|||||||
|
|
||||||
otg_board_data = &plat->otg_board_data;
|
otg_board_data = &plat->otg_board_data;
|
||||||
|
|
||||||
if (CONFIG_IS_ENABLED(USB_MUSB_HOST)) {
|
if (IS_ENABLED(CONFIG_USB_MUSB_HOST)) {
|
||||||
struct musb_host_data *host = dev_get_priv(dev);
|
struct musb_host_data *host = dev_get_priv(dev);
|
||||||
struct usb_bus_priv *priv = dev_get_uclass_priv(dev);
|
struct usb_bus_priv *priv = dev_get_uclass_priv(dev);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user