521750c4eea908de19451d8c67cf717b58bd3a02
[openwrt/openwrt.git] / package / boot / uboot-sunxi / patches / 013-enable-realtek-phy.patch
1 From 1eae8f66ff749409eb96e2f3f3387c56232d0b8a Mon Sep 17 00:00:00 2001
2 From: Hans de Goede <hdegoede@redhat.com>
3 Date: Wed, 16 Mar 2016 13:46:22 +0100
4 Subject: [PATCH] sunxi: Enable realtek phy support
5
6 Enable building of drivers/net/phy/realtek.c so that realtek phys
7 get properly initialized.
8
9 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
10 Acked-by: Ian Campbell <ijc@hellion.org.uk>
11 ---
12 include/configs/sunxi-common.h | 1 +
13 1 file changed, 1 insertion(+)
14
15 diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
16 index b26363d..ea15e37 100644
17 --- a/include/configs/sunxi-common.h
18 +++ b/include/configs/sunxi-common.h
19 @@ -310,6 +310,7 @@ extern int soft_i2c_gpio_scl;
20 #define CONFIG_PHY_GIGE /* GMAC can use gigabit PHY */
21 #define CONFIG_PHY_ADDR 1
22 #define CONFIG_MII /* MII PHY management */
23 +#define CONFIG_PHY_REALTEK
24 #endif
25
26 #ifdef CONFIG_USB_EHCI_HCD