]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - doc/README.designware_eth
Merge branch 'master' of git://git.denx.de/u-boot-i2c
[karo-tx-uboot.git] / doc / README.designware_eth
1 This driver supports Designware Ethernet Controller provided by Synopsis.
2
3 The driver is enabled by CONFIG_DESIGNWARE_ETH.
4
5 The driver has been developed and tested on SPEAr platforms. By default, the
6 MDIO interface works at 100/Full. #defining the below options in board
7 configuration file changes this behavior.
8
9 Call an subroutine from respective board/.../board.c
10 designware_initialize(u32 id, ulong base_addr, u32 phy_addr);
11
12 The various options suported by the driver are
13 1. CONFIG_DW_ALTDESCRIPTOR
14         Define this to use the Alternate/Enhanced Descriptor configurations.
15 1. CONFIG_DW_AUTONEG
16         Define this to autonegotiate with the host before proceeding with mac
17         level configuration. This obviates the definitions of CONFIG_DW_SPEED10M
18         and CONFIG_DW_DUPLEXHALF.
19 2. CONFIG_DW_SPEED10M
20         Define this to change the default behavior from 100Mbps to 10Mbps.
21 3. CONFIG_DW_DUPLEXHALF
22         Define this to change the default behavior from Full Duplex to Half.
23 4. CONFIG_DW_SEARCH_PHY
24         Define this to search the phy address. This would overwrite the value
25         passed as 3rd arg from designware_initialize routine.