ARM: imx: add FEC sleep mode callback function
authorNimrod Andy <B38611@freescale.com>
Wed, 24 Dec 2014 09:30:40 +0000 (17:30 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Dec 2014 18:06:51 +0000 (13:06 -0500)
commit456062b3ec6f5b96ffe7dd31c84e8666747f8720
tree2e158abeec59596bb734b1a6b57cd490ac9cce68
parentde40ed31b3c577cefd7b54972365a272ecbe9dd6
ARM: imx: add FEC sleep mode callback function

i.MX6q/dl, i.MX6SX SOCs enet support sleep mode that magic packet can
wake up system in suspend status. For different SOCs, there have some
SOC specifical GPR register to set sleep on/off mode. So add these to
callback function for driver.

Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/mach-imx/mach-imx6q.c
arch/arm/mach-imx/mach-imx6sx.c