]> git.sur5r.net Git - u-boot/commitdiff
sunxi: fix CONFIG_SUNXI_EMAC references
authorArtturi Alm <artturi.alm@gmail.com>
Wed, 8 Nov 2017 03:08:57 +0000 (05:08 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 9 Nov 2017 09:09:09 +0000 (14:39 +0530)
fixes CONFIG_SUNXI_EMAC references from drivers/net/Makefile and
include/configs/sunxi-common.h likely forgotten in:
commit abc3e4df59f5 ("sunxi: Convert SUNXI_EMAC to Kconfig")

Signed-off-by: Artturi Alm <artturi.alm@gmail.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/net/Makefile
include/configs/sunxi-common.h

index 94a4fd87016e2202eeea2c349b62062b28294029..ac5443c752c276eb3b52e74bd9059d941a9ba5f0 100644 (file)
@@ -21,7 +21,7 @@ obj-$(CONFIG_DNET) += dnet.o
 obj-$(CONFIG_E1000) += e1000.o
 obj-$(CONFIG_E1000_SPI) += e1000_spi.o
 obj-$(CONFIG_EEPRO100) += eepro100.o
-obj-$(CONFIG_SUNXI_EMAC) += sunxi_emac.o
+obj-$(CONFIG_SUN4I_EMAC) += sunxi_emac.o
 obj-$(CONFIG_SUN8I_EMAC) += sun8i_emac.o
 obj-$(CONFIG_ENC28J60) += enc28j60.o
 obj-$(CONFIG_EP93XX) += ep93xx_eth.o
index 4207398eb90df105ee881613f1b52299daf210fc..4391a8cbc82407400215695d9187c0c74b11cd97 100644 (file)
@@ -286,7 +286,7 @@ extern int soft_i2c_gpio_scl;
 #endif /* CONFIG_VIDEO_SUNXI */
 
 /* Ethernet support */
-#ifdef CONFIG_SUNXI_EMAC
+#ifdef CONFIG_SUN4I_EMAC
 #define CONFIG_PHY_ADDR                1
 #define CONFIG_MII                     /* MII PHY management           */
 #endif