First git repo commit for the libreCMC project
[librecmc/librecmc.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 --- a/include/configs/sunxi-common.h
16 +++ b/include/configs/sunxi-common.h
17 @@ -314,6 +314,7 @@ extern int soft_i2c_gpio_scl;
18  #define CONFIG_PHY_GIGE                        /* GMAC can use gigabit PHY     */
19  #define CONFIG_PHY_ADDR                1
20  #define CONFIG_MII                     /* MII PHY management           */
21 +#define CONFIG_PHY_REALTEK
22  #endif
23  
24  #ifdef CONFIG_USB_EHCI_HCD