[U-Boot] [PATCH 4/4] ARM64: zynqmp: Fix USB ulpi phy sequence

Michal Simek michal.simek at xilinx.com
Thu Sep 1 16:18:06 CEST 2016


It should be enough to call low(5us)->high pulse for all cases
to provide proper reset. There is no need to call high->low->high.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 arch/arm/cpu/armv8/zynqmp/spl.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm/cpu/armv8/zynqmp/spl.c b/arch/arm/cpu/armv8/zynqmp/spl.c
index 552f577b95d2..04e190537d15 100644
--- a/arch/arm/cpu/armv8/zynqmp/spl.c
+++ b/arch/arm/cpu/armv8/zynqmp/spl.c
@@ -37,10 +37,6 @@ void board_init_f(ulong dummy)
 
 static void ps_mode_reset(ulong mode)
 {
-	writel(mode << ZYNQMP_CRL_APB_BOOT_PIN_CTRL_OUT_VAL_SHIFT |
-	       mode << ZYNQMP_CRL_APB_BOOT_PIN_CTRL_OUT_EN_SHIFT,
-	       &crlapb_base->boot_pin_ctrl);
-	udelay(1);
 	writel(mode << ZYNQMP_CRL_APB_BOOT_PIN_CTRL_OUT_EN_SHIFT,
 	       &crlapb_base->boot_pin_ctrl);
 	udelay(5);
-- 
1.9.1



More information about the U-Boot mailing list