]> git.sur5r.net Git - u-boot/commitdiff
armv8/fsl-layerscape: fdt: Skip checking USB clock on LS1012A
authorYingxi Yu <yingxi.yu@nxp.com>
Thu, 16 Mar 2017 07:18:32 +0000 (15:18 +0800)
committerYork Sun <york.sun@nxp.com>
Tue, 28 Mar 2017 17:13:46 +0000 (10:13 -0700)
USB requires 100MHz clock. On LS1012A, a dedicated 100MHz is provided
instead of SYSCLK (125MHz). Skipping checking SYSCLK for FDT fixup.

Signed-off-by: Yingxi Yu <yingxi.yu@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/fdt.c

index 26d4a303a536fa82cc15b002030eeb156abe4104..762a95b945c131adc5375fa601def93f109fa49f 100644 (file)
@@ -387,8 +387,9 @@ void ft_cpu_setup(void *blob, bd_t *bd)
 #ifdef CONFIG_SYS_DPAA_FMAN
        fdt_fixup_fman_firmware(blob);
 #endif
+#ifndef CONFIG_LS1012A
        fsl_fdt_disable_usb(blob);
-
+#endif
 #ifdef CONFIG_HAS_FEATURE_GIC64K_ALIGN
        fdt_fixup_gic(blob);
 #endif