summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/uniphier/ph1-pro4
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-11-05 14:25:15 +0900
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2014-11-12 00:15:23 +0900
commitb603c6812919ccb51680735faf1f8c589e82575c (patch)
tree78b1bf7ab12a989c452853086ac030cec78d30ac /arch/arm/cpu/armv7/uniphier/ph1-pro4
parent325b708a61fdbfca7be169f442a4b50b6d8180f5 (diff)
ARM: UniPhier: reset on-board devices on start-up
If a support card is attached to the main board, the on-board SMSC9118 LAN controller is available. It must be kept in reset state for a while on start-up. When the board is kicked via a debbuger rather than pushing the hardware reset button, on-board chips are not reset; in this case the reset signals should be asserted by software. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/cpu/armv7/uniphier/ph1-pro4')
-rw-r--r--arch/arm/cpu/armv7/uniphier/ph1-pro4/board_postclk_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/uniphier/ph1-pro4/board_postclk_init.c b/arch/arm/cpu/armv7/uniphier/ph1-pro4/board_postclk_init.c
index 7198829988..9a537430e4 100644
--- a/arch/arm/cpu/armv7/uniphier/ph1-pro4/board_postclk_init.c
+++ b/arch/arm/cpu/armv7/uniphier/ph1-pro4/board_postclk_init.c
@@ -21,6 +21,8 @@ int board_postclk_init(void)
sg_init();
+ uniphier_board_reset();
+
pll_init();
uniphier_board_init();