]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
powerpc/85xx: Fix SRIO LAW setup on corenet_ds boards
authorLian Minghuan <B31939@freescale.com>
Wed, 18 Aug 2010 08:33:47 +0000 (16:33 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 19 Aug 2010 07:06:14 +0000 (02:06 -0500)
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: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Lian Minghuan <B31939@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

No differences found