summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-10-08 04:25:29 (GMT)
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-10-10 01:03:23 (GMT)
commit66e3efebbcfe2627154d81d6a3c172b337396daf (patch)
tree1686ade81f6aa8065364a77e0af0bea7d1f4ffeb /arch/arm/mach-uniphier
parentf1d9a9edb94989a1dd6cb4e2e3ce626bc08b5d96 (diff)
downloadu-boot-fsl-qoriq-66e3efebbcfe2627154d81d6a3c172b337396daf.tar.xz
ARM: uniphier: insert udelay() just before support_card_reset_deassert()
As for LD11/LD20, we can no longer rely on the udelay() in the PLL init functions. udelay(200) is needed here to keep the ethernet device in the reset state for enough time. Anyway, 200 usec is quite short for humans, so nobody cares it. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier')
-rw-r--r--arch/arm/mach-uniphier/micro-support-card.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-uniphier/micro-support-card.c b/arch/arm/mach-uniphier/micro-support-card.c
index 04e6558..e53bcdf 100644
--- a/arch/arm/mach-uniphier/micro-support-card.c
+++ b/arch/arm/mach-uniphier/micro-support-card.c
@@ -60,9 +60,8 @@ void support_card_init(void)
/*
* After power on, we need to keep the LAN controller in reset state
* for a while. (200 usec)
- * Fortunately, enough wait time is already inserted in pll_init()
- * function. So we do not have to wait here.
*/
+ udelay(200);
support_card_reset_deassert();
}