Skip to content
Snippets Groups Projects
Commit 0e159024 authored by Lian Minghuan's avatar Lian Minghuan Committed by Kumar Gala
Browse files

powerpc/85xx: Fix SRIO LAW setup on corenet_ds boards


In function board_early_init_r(), serdes will not be initialize yet.
Thus sRIO was always considered disabled.  Move the check for sRIO into
misc_init_r() which is called after fsl_serdes_init().

Also, fixed warning associated with gur variable possibly not being
used.

Signed-off-by: default avatarRoy Zang <tie-fei.zang@freescale.com>
Signed-off-by: default avatarLian Minghuan <B31939@freescale.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 90870d98
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment