]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
net/fm: Fix error when FMAN MAC has no PHY
authorCodrin Ciubotariu <codrin.ciubotariu@freescale.com>
Mon, 12 Jan 2015 12:08:29 +0000 (14:08 +0200)
committerYork Sun <yorksun@freescale.com>
Fri, 16 Jan 2015 17:32:16 +0000 (09:32 -0800)
commit6798c324ed5f0831040324af6c60cc0786b2b36f
tree6e21aebea072b0520ab03e12a5acb33ec424c488
parentf7c38cf827a0cf9d5ab4ca60131dffa10a2e4309
net/fm: Fix error when FMAN MAC has no PHY

U-boot assumes that all FMAN ports have a PHY. Some SoCs (like T1040)
have fixed links. This means that the ports are connected MAC to MAc
and there is no Ethernet PHY attatched. This patch initializes a
FMAN MAC even if it doesn't have a PHY attached.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/net/fm/eth.c