diff options
author | Wenyou Yang <wenyou.yang@atmel.com> | 2016-05-17 13:11:35 +0800 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2016-08-15 13:34:44 -0500 |
commit | a212b66d7c9304271a2e6f78775d7c1e328cbb8e (patch) | |
tree | 901a9d10a6d47ad86d02687caa3deb94e42c5eea /include/configs | |
parent | f4b0df1823921ad3bc39820466e9c5201cef6210 (diff) | |
download | u-boot-a212b66d7c9304271a2e6f78775d7c1e328cbb8e.zip u-boot-a212b66d7c9304271a2e6f78775d7c1e328cbb8e.tar.gz u-boot-a212b66d7c9304271a2e6f78775d7c1e328cbb8e.tar.bz2 |
net: macb: Fix build error for CONFIG_DM_ETH enabled
Use the right phy_connect() prototype for CONFIGF_DM_ETH.
Support to get the phy interface from dt and set GMAC_UR.
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/corvus.h | 1 | ||||
-rw-r--r-- | include/configs/smartweb.h | 1 | ||||
-rw-r--r-- | include/configs/snapper9g45.h | 1 | ||||
-rw-r--r-- | include/configs/taurus.h | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/corvus.h b/include/configs/corvus.h index e6a811a..28ea15b 100644 --- a/include/configs/corvus.h +++ b/include/configs/corvus.h @@ -95,6 +95,7 @@ /* Ethernet */ #define CONFIG_MACB +#define CONFIG_PHYLIB #define CONFIG_RMII #define CONFIG_NET_RETRY_COUNT 20 #define CONFIG_AT91_WANTS_COMMON_PHY diff --git a/include/configs/smartweb.h b/include/configs/smartweb.h index 6add391..076a5ce 100644 --- a/include/configs/smartweb.h +++ b/include/configs/smartweb.h @@ -122,6 +122,7 @@ * */ #define CONFIG_MACB +#define CONFIG_PHYLIB #define CONFIG_USB_HOST_ETHER #define CONFIG_USB_ETHER_ASIX #define CONFIG_USB_ETHER_MCS7830 diff --git a/include/configs/snapper9g45.h b/include/configs/snapper9g45.h index fd6c70e..c91ab71 100644 --- a/include/configs/snapper9g45.h +++ b/include/configs/snapper9g45.h @@ -56,6 +56,7 @@ /* Ethernet */ #define CONFIG_MACB +#define CONFIG_PHYLIB #define CONFIG_RMII #define CONFIG_NET_RETRY_COUNT 20 #define CONFIG_RESET_PHY_R diff --git a/include/configs/taurus.h b/include/configs/taurus.h index 882a4e5..2d091db 100644 --- a/include/configs/taurus.h +++ b/include/configs/taurus.h @@ -99,6 +99,7 @@ /* Ethernet */ #define CONFIG_MACB +#define CONFIG_PHYLIB #define CONFIG_RMII #define CONFIG_AT91_WANTS_COMMON_PHY |