net: dm: fec: Obtain the transceiver type from the DT
authorMartin Fuzzey <martin.fuzzey@flowbird.group>
Thu, 4 Oct 2018 17:59:21 +0000 (19:59 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 24 Oct 2018 19:45:37 +0000 (14:45 -0500)
commit0126c641e80f7285c891fb98b832d8258d1862ca
treed36722e338e5cd8e1189a3a6ba0c42f286f83e22
parentad8c43cbcafbbb21efc9e26bda7a6b1e37428adc
net: dm: fec: Obtain the transceiver type from the DT

The DT property "phy-mode" already provides the transceiver type.
Use it so that we do not have to also set CONFIG_FEC_XCV_TYPE

Signed-off-by: Martin Fuzzey <martin.fuzzey@flowbird.group>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/fec_mxc.c