From: Michal Simek Date: Tue, 16 Aug 2016 13:40:05 +0000 (+0200) Subject: ARM64: zynqmp: Fix USB ulpi phy sequence X-Git-Tag: v2016.11-rc1~113^2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5242772c5113850c0c35d6271fd281dfc669c707;p=u-boot ARM64: zynqmp: Fix USB ulpi phy sequence 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 --- diff --git a/arch/arm/cpu/armv8/zynqmp/spl.c b/arch/arm/cpu/armv8/zynqmp/spl.c index 552f577b95..04e190537d 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);