ARM64: zynqmp: Fix USB ulpi phy sequence
authorMichal Simek <michal.simek@xilinx.com>
Tue, 16 Aug 2016 13:40:05 +0000 (15:40 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 22 Sep 2016 05:33:21 +0000 (07:33 +0200)
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@xilinx.com>
arch/arm/cpu/armv8/zynqmp/spl.c

index 552f577b95d24494046feb2e59a581ff60c01ea9..04e190537d15c47e9b976fd1a1fb14c73c9da41c 100644 (file)
@@ -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);