1*a187559eSBin MengU-Boot config options used in fec_mxc.c 2c30eab2dSTroy Kisky 3c30eab2dSTroy KiskyCONFIG_FEC_MXC 495c69223SOlaf Mandel Selects fec_mxc.c to be compiled into u-boot. Can read out the 595c69223SOlaf Mandel ethaddr from the SoC eFuses (see below). 6c30eab2dSTroy Kisky 7c30eab2dSTroy KiskyCONFIG_MII 8c30eab2dSTroy Kisky Must be defined if CONFIG_FEC_MXC is defined. 9c30eab2dSTroy Kisky 10c30eab2dSTroy KiskyCONFIG_FEC_XCV_TYPE 11c30eab2dSTroy Kisky Defaults to MII100 for 100 Base-tx. 12c30eab2dSTroy Kisky RGMII selects 1000 Base-tx reduced pin count interface. 13c30eab2dSTroy Kisky RMII selects 100 Base-tx reduced pin count interface. 14c30eab2dSTroy Kisky 15c30eab2dSTroy KiskyCONFIG_FEC_MXC_SWAP_PACKET 16c30eab2dSTroy Kisky Forced on iff MX28. 17c30eab2dSTroy Kisky Swaps the bytes order of all words(4 byte units) in the packet. 18c30eab2dSTroy Kisky This should not be specified by a board file. It is cpu specific. 19c30eab2dSTroy Kisky 20c30eab2dSTroy KiskyCONFIG_PHYLIB 21c30eab2dSTroy Kisky fec_mxc supports PHYLIB and should be used for new boards. 22c30eab2dSTroy Kisky 23c30eab2dSTroy KiskyCONFIG_FEC_MXC_NO_ANEG 24c30eab2dSTroy Kisky Relevant only if PHYLIB not used. Skips auto-negotiation restart. 25c30eab2dSTroy Kisky 26c30eab2dSTroy KiskyCONFIG_FEC_MXC_PHYADDR 27c30eab2dSTroy Kisky Optional, selects the exact phy address that should be connected 28c30eab2dSTroy Kisky and function fecmxc_initialize will try to initialize it. 2995c69223SOlaf Mandel 3095c69223SOlaf Mandel 3195c69223SOlaf MandelReading the ethaddr from the SoC eFuses: 3295c69223SOlaf Mandelif CONFIG_FEC_MXC is defined and the U-Boot environment does not contain the 3395c69223SOlaf Mandelethaddr variable, then its value gets read from the corresponding eFuses in 3495c69223SOlaf Mandelthe SoC. See the README files of the specific SoC for details. 35