GMAC on cubietruck uses a gigabit PHY.
Enable gigabit PHY support so auto-negotiation is correct.

Signed-off-by: Chen-Yu Tsai <[email protected]>
---
 include/configs/sunxi-common.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 165b2ee..2c86a8e 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -433,6 +433,7 @@
 #ifdef CONFIG_SUNXI_GMAC
 #define CONFIG_DESIGNWARE_ETH          /* GMAC can use designware driver */
 #define CONFIG_DW_AUTONEG
+#define CONFIG_PHY_GIGE                        /* GMAC can use gigabit PHY     
*/
 #define CONFIG_SYS_DCACHE_OFF          /* dw driver doesn't support dcache */
 #define CONFIG_MII                     /* MII PHY management           */
 #define CONFIG_CMD_MII
-- 
1.8.5.2

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to