blob: a33f4a75742a9eaa70b01c64612466ff6971d35a [file] [log] [blame]
Bin Meng75574052016-02-05 19:30:11 -08001U-Boot config options used in fec_mxc.c
Troy Kisky9870e972012-10-22 16:40:39 +00002
3CONFIG_FEC_MXC
Olaf Mandel8929c4f2015-05-28 14:59:18 +02004 Selects fec_mxc.c to be compiled into u-boot. Can read out the
5 ethaddr from the SoC eFuses (see below).
Troy Kisky9870e972012-10-22 16:40:39 +00006
7CONFIG_MII
8 Must be defined if CONFIG_FEC_MXC is defined.
9
Tom Rini364d0022023-01-10 11:19:45 -050010CFG_FEC_MXC_SWAP_PACKET
Troy Kisky9870e972012-10-22 16:40:39 +000011 Forced on iff MX28.
12 Swaps the bytes order of all words(4 byte units) in the packet.
13 This should not be specified by a board file. It is cpu specific.
14
15CONFIG_PHYLIB
16 fec_mxc supports PHYLIB and should be used for new boards.
17
18CONFIG_FEC_MXC_NO_ANEG
19 Relevant only if PHYLIB not used. Skips auto-negotiation restart.
20
Tom Rini4e3c8a62022-12-04 10:03:53 -050021CFG_FEC_MXC_PHYADDR
Troy Kisky9870e972012-10-22 16:40:39 +000022 Optional, selects the exact phy address that should be connected
23 and function fecmxc_initialize will try to initialize it.
Olaf Mandel8929c4f2015-05-28 14:59:18 +020024
Olaf Mandel8929c4f2015-05-28 14:59:18 +020025Reading the ethaddr from the SoC eFuses:
26if CONFIG_FEC_MXC is defined and the U-Boot environment does not contain the
27ethaddr variable, then its value gets read from the corresponding eFuses in
28the SoC. See the README files of the specific SoC for details.