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:
parent
91b614eef6
commit
0ff8bb8724
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ static int ab8500_usb_phy_power_on(struct phy *phy)
|
|||
struct udevice *dev = phy->dev;
|
||||
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;
|
||||
|
||||
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;
|
||||
|
||||
if (CONFIG_IS_ENABLED(USB_MUSB_HOST)) {
|
||||
if (IS_ENABLED(CONFIG_USB_MUSB_HOST)) {
|
||||
struct musb_host_data *host = dev_get_priv(dev);
|
||||
struct usb_bus_priv *priv = dev_get_uclass_priv(dev);
|
||||
|
||||
|
|
Loading…
Reference in a new issue