diff mbox series

[U-Boot,1/2] sunxi: fix CONFIG_SUNXI_EMAC references

Message ID 20171108030858.3794-1-artturi.alm@gmail.com
State Accepted
Commit e286fada9d434cd211b56fa7a4b5ef8965577e7f
Delegated to: Jagannadha Sutradharudu Teki
Headers show
Series [U-Boot,1/2] sunxi: fix CONFIG_SUNXI_EMAC references | expand

Commit Message

Artturi Alm Nov. 8, 2017, 3:08 a.m. UTC
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>
---

 drivers/net/Makefile           | 2 +-
 include/configs/sunxi-common.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Jagan Teki Nov. 8, 2017, 11:47 a.m. UTC | #1
On Wed, Nov 8, 2017 at 8:38 AM, Artturi Alm <artturi.alm@gmail.com> wrote:
> 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>

thanks!
Jagan Teki Nov. 9, 2017, 9:14 a.m. UTC | #2
On Wed, Nov 8, 2017 at 5:17 PM, Jagan Teki <jagannadh.teki@gmail.com> wrote:
> On Wed, Nov 8, 2017 at 8:38 AM, Artturi Alm <artturi.alm@gmail.com> wrote:
>> 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>

Applied to u-boot-sunxi/master
diff mbox series

Patch

diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 94a4fd8..ac5443c 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -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
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 4207398..4391a8c 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -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