armv8: ls2080aqds: fix SGMII repeater settings
authorShaohui Xie <Shaohui.Xie@nxp.com>
Mon, 17 Oct 2016 08:20:48 +0000 (16:20 +0800)
committerYork Sun <york.sun@nxp.com>
Mon, 21 Nov 2016 17:20:32 +0000 (09:20 -0800)
commitc435a7c8c1b872d38fcc671369f6e290d2fff08c
tree42af7e2151bdf2b46bc0220b4fc0db0da62502ea
parent5eef15ea9d297d270935510d8a635f8d8bf72439
armv8: ls2080aqds: fix SGMII repeater settings

The current value to check whether the PHY was configured has dependency
on MC, it expects MC to start PCS AN, this is not true during boot up,
so it should be changed to remove the dependency.

The PHY's register space should be restore to default after accessing
extended space.

Signed-off-by: Shaohui Xie <Shaohui.Xie@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/ls2080aqds/eth.c