Bin Meng | a187559 | 2016-02-05 19:30:11 -0800 | [diff] [blame] | 1 | U-Boot config options used in fec_mxc.c |
Troy Kisky | c30eab2 | 2012-10-22 16:40:39 +0000 | [diff] [blame] | 2 | |
| 3 | CONFIG_FEC_MXC |
Olaf Mandel | 95c6922 | 2015-05-28 14:59:18 +0200 | [diff] [blame] | 4 | Selects fec_mxc.c to be compiled into u-boot. Can read out the |
| 5 | ethaddr from the SoC eFuses (see below). |
Troy Kisky | c30eab2 | 2012-10-22 16:40:39 +0000 | [diff] [blame] | 6 | |
| 7 | CONFIG_MII |
| 8 | Must be defined if CONFIG_FEC_MXC is defined. |
| 9 | |
Troy Kisky | c30eab2 | 2012-10-22 16:40:39 +0000 | [diff] [blame] | 10 | CONFIG_FEC_MXC_SWAP_PACKET |
| 11 | 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 | |
| 15 | CONFIG_PHYLIB |
| 16 | fec_mxc supports PHYLIB and should be used for new boards. |
| 17 | |
| 18 | CONFIG_FEC_MXC_NO_ANEG |
| 19 | Relevant only if PHYLIB not used. Skips auto-negotiation restart. |
| 20 | |
| 21 | CONFIG_FEC_MXC_PHYADDR |
| 22 | Optional, selects the exact phy address that should be connected |
| 23 | and function fecmxc_initialize will try to initialize it. |
Olaf Mandel | 95c6922 | 2015-05-28 14:59:18 +0200 | [diff] [blame] | 24 | |
Hannes Schmelzer | 0750701 | 2016-06-22 12:07:14 +0200 | [diff] [blame] | 25 | CONFIG_FEC_FIXED_SPEED |
| 26 | Optional, selects a fixed speed on the MAC interface without asking some |
| 27 | phy. This is usefull if there is a direct MAC <-> MAC connection, for |
| 28 | example if the CPU is connected directly via the RGMII interface to a |
| 29 | ethernet-switch. |
Olaf Mandel | 95c6922 | 2015-05-28 14:59:18 +0200 | [diff] [blame] | 30 | |
| 31 | Reading the ethaddr from the SoC eFuses: |
| 32 | if CONFIG_FEC_MXC is defined and the U-Boot environment does not contain the |
| 33 | ethaddr variable, then its value gets read from the corresponding eFuses in |
| 34 | the SoC. See the README files of the specific SoC for details. |