diff options
Diffstat (limited to 'drivers/usb/host')
-rw-r--r-- | drivers/usb/host/ehci-faraday.c | 6 | ||||
-rw-r--r-- | drivers/usb/host/ehci-tegra.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/usb/host/ehci-faraday.c b/drivers/usb/host/ehci-faraday.c index b61b5382df..85a3526960 100644 --- a/drivers/usb/host/ehci-faraday.c +++ b/drivers/usb/host/ehci-faraday.c @@ -16,8 +16,8 @@ #include "ehci.h" -#ifndef CONFIG_USB_EHCI_BASE_LIST -#define CONFIG_USB_EHCI_BASE_LIST { CONFIG_USB_EHCI_BASE } +#ifndef CFG_USB_EHCI_BASE_LIST +#define CFG_USB_EHCI_BASE_LIST { CONFIG_USB_EHCI_BASE } #endif union ehci_faraday_regs { @@ -93,7 +93,7 @@ int ehci_hcd_init(int index, enum usb_init_type init, struct ehci_hccr *hccr; struct ehci_hcor *hcor; union ehci_faraday_regs *regs; - uint32_t base_list[] = CONFIG_USB_EHCI_BASE_LIST; + uint32_t base_list[] = CFG_USB_EHCI_BASE_LIST; if (index < 0 || index >= ARRAY_SIZE(base_list)) return -1; diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index b02ee89c3e..11d776747c 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -578,8 +578,8 @@ static int init_utmi_usb_controller(struct fdt_usb *config, #ifdef CONFIG_USB_ULPI /* if board file does not set a ULPI reference frequency we default to 24MHz */ -#ifndef CONFIG_ULPI_REF_CLK -#define CONFIG_ULPI_REF_CLK 24000000 +#ifndef CFG_ULPI_REF_CLK +#define CFG_ULPI_REF_CLK 24000000 #endif /* set up the ULPI USB controller with the parameters provided */ @@ -594,7 +594,7 @@ static int init_ulpi_usb_controller(struct fdt_usb *config, /* set up ULPI reference clock on pllp_out4 */ clock_enable(PERIPH_ID_DEV2_OUT); - clock_set_pllout(CLOCK_ID_PERIPH, PLL_OUT4, CONFIG_ULPI_REF_CLK); + clock_set_pllout(CLOCK_ID_PERIPH, PLL_OUT4, CFG_ULPI_REF_CLK); /* reset ULPI phy */ if (dm_gpio_is_valid(&config->phy_reset_gpio)) { |