diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-04-16 21:47:06 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-05-04 16:51:53 +0200 |
commit | 8145dea46801e14af3bf65d2d70c3c19b8bb8e81 (patch) | |
tree | e0e860ac780f0a4bd0ec23d9cf02017f8352f7f6 /include/configs/sunxi-common.h | |
parent | aab096401c527641235cd93b188b34ed9dc99617 (diff) | |
download | u-boot-imx-8145dea46801e14af3bf65d2d70c3c19b8bb8e81.zip u-boot-imx-8145dea46801e14af3bf65d2d70c3c19b8bb8e81.tar.gz u-boot-imx-8145dea46801e14af3bf65d2d70c3c19b8bb8e81.tar.bz2 |
sunxi: emac: port to phylib
This is a preparation-patch for adding device-model support to the emac
driver.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/sunxi-common.h')
-rw-r--r-- | include/configs/sunxi-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 086105e..28eccd5 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -283,7 +283,9 @@ extern int soft_i2c_gpio_scl; /* Ethernet support */ #ifdef CONFIG_SUNXI_EMAC +#define CONFIG_PHY_ADDR 1 #define CONFIG_MII /* MII PHY management */ +#define CONFIG_PHYLIB #endif #ifdef CONFIG_SUNXI_GMAC |