[U-Boot] [PATCH] armv8/fsl-layerscape: fdt: On ls1012 don't check sysclk for USB
Yingxi Yu
yingxi.yu at nxp.com
Thu Mar 16 07:18:32 UTC 2017
USB requires 100MHz clock. On ls1012, sysclk(125MHz) is not for USB.
Another 100MHz clock is for USB. So For USB, check if sysclk is 100MHz
is failed on ls1012, sysclk is not for USB. Don't check sysclk for
USB on ls1012.
Signed-off-by: Yingxi Yu <yingxi.yu at nxp.com>
---
arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
index 26d4a30..762a95b 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
@@ -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
--
2.1.0.27.g96db324
More information about the U-Boot
mailing list