xref: /openbmc/u-boot/doc/README.fec_mxc (revision c30eab2ddd5d2238e06ea2acde91620019ea7f85)
1*c30eab2dSTroy KiskyU-boot config options used in fec_mxc.c
2*c30eab2dSTroy Kisky
3*c30eab2dSTroy KiskyCONFIG_FEC_MXC
4*c30eab2dSTroy Kisky	Selects fec_mxc.c to be compiled into u-boot.
5*c30eab2dSTroy Kisky
6*c30eab2dSTroy KiskyCONFIG_MII
7*c30eab2dSTroy Kisky	Must be defined if CONFIG_FEC_MXC is defined.
8*c30eab2dSTroy Kisky
9*c30eab2dSTroy KiskyCONFIG_FEC_XCV_TYPE
10*c30eab2dSTroy Kisky	Defaults to MII100 for 100 Base-tx.
11*c30eab2dSTroy Kisky	RGMII selects 1000 Base-tx reduced pin count interface.
12*c30eab2dSTroy Kisky	RMII selects 100 Base-tx reduced pin count interface.
13*c30eab2dSTroy Kisky
14*c30eab2dSTroy KiskyCONFIG_FEC_MXC_SWAP_PACKET
15*c30eab2dSTroy Kisky	Forced on iff MX28.
16*c30eab2dSTroy Kisky	Swaps the bytes order of all words(4 byte units) in the packet.
17*c30eab2dSTroy Kisky	This should not be specified by a board file. It is cpu specific.
18*c30eab2dSTroy Kisky
19*c30eab2dSTroy KiskyCONFIG_PHYLIB
20*c30eab2dSTroy Kisky	fec_mxc supports PHYLIB and should be used for new boards.
21*c30eab2dSTroy Kisky
22*c30eab2dSTroy KiskyCONFIG_FEC_MXC_NO_ANEG
23*c30eab2dSTroy Kisky	Relevant only if PHYLIB not used. Skips auto-negotiation restart.
24*c30eab2dSTroy Kisky
25*c30eab2dSTroy KiskyCONFIG_FEC_MXC_PHYADDR
26*c30eab2dSTroy Kisky	Optional, selects the exact phy address that should be connected
27*c30eab2dSTroy Kisky	and function fecmxc_initialize will try to initialize it.
28