Skip to content
Permalink
Browse files

nxp_imx: Fix dts build error

The SoC clock init code for USB was using a deprecated DTS define.
Switch to using the non-deprecated form.

Fixes: #17772

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information...
galak authored and carlescufi committed Jul 25, 2019
1 parent ad69bb9 commit 352687df0529d4f28048a31087971d48694fa4c0
Showing with 2 additions and 2 deletions.
  1. +2 −2 soc/arm/nxp_imx/rt/soc.c
@@ -179,9 +179,9 @@ static ALWAYS_INLINE void clkInit(void)

#if CONFIG_USB_DC_NXP_EHCI
CLOCK_EnableUsbhs0PhyPllClock(kCLOCK_Usb480M,
DT_NXP_KINETIS_USBD_0_CLOCKS_CLOCK_FREQUENCY);
DT_INST_0_NXP_KINETIS_USBD_CLOCKS_CLOCK_FREQUENCY);
CLOCK_EnableUsbhs0Clock(kCLOCK_Usb480M,
DT_NXP_KINETIS_USBD_0_CLOCKS_CLOCK_FREQUENCY);
DT_INST_0_NXP_KINETIS_USBD_CLOCKS_CLOCK_FREQUENCY);
USB_EhciPhyInit(kUSB_ControllerEhci0, CPU_XTAL_CLK_HZ, &usbPhyConfig);
#endif

0 comments on commit 352687d

Please sign in to comment.
You can’t perform that action at this time.