]> git.sur5r.net Git - u-boot/commit
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)
commit0e159024ea0bc1c7ee2c31e98c5e45b08d42b4e7
tree94ffa182134a44c9dca4a5de59b1af64ff2ec44b
parent90870d9846e6a302823712acf6d40f947e60ed75
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: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Lian Minghuan <B31939@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/corenet_ds/corenet_ds.c