diff mbox series

[07/15] Convert CONFIG_LPC32XX_ETH to Kconfig

Message ID 20220318123832.1819556-7-trini@konsulko.com
State Accepted
Commit 6329dda175ef6f2c41991be3fdcfe0b5e091b573
Delegated to: Tom Rini
Headers show
Series [01/15] Convert CONFIG_AT91_LED to Kconfig | expand

Commit Message

Tom Rini March 18, 2022, 12:38 p.m. UTC
This converts the following to Kconfig:
   CONFIG_LPC32XX_ETH

Cc: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
 drivers/net/Kconfig          | 5 +++++
 include/configs/devkit3250.h | 5 -----
 include/configs/work_92105.h | 7 -------
 3 files changed, 5 insertions(+), 12 deletions(-)

Comments

Tom Rini March 25, 2022, 2:32 p.m. UTC | #1
On Fri, Mar 18, 2022 at 08:38:24AM -0400, Tom Rini wrote:

> This converts the following to Kconfig:
>    CONFIG_LPC32XX_ETH
> 
> Cc: Ramon Fried <rfried.dev@gmail.com>
> Signed-off-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index d63c0a986a80..a6171a7c7ffd 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -423,6 +423,11 @@  config KSZ9477
 	  This driver implements a DSA switch driver for the KSZ9477 family
 	  of GbE switches using the I2C interface.
 
+config LPC32XX_ETH
+	bool "LPC32xx Ethernet MAC interface driver"
+	depends on ARCH_LPC32XX
+	default y
+
 config MVGBE
 	bool "Marvell Orion5x/Kirkwood network interface support"
 	depends on ARCH_KIRKWOOD || ARCH_ORION5X
diff --git a/include/configs/devkit3250.h b/include/configs/devkit3250.h
index 84098e753018..bc5282a48934 100644
--- a/include/configs/devkit3250.h
+++ b/include/configs/devkit3250.h
@@ -29,11 +29,6 @@ 
  * GPIO
  */
 
-/*
- * Ethernet
- */
-#define CONFIG_LPC32XX_ETH
-
 /*
  * NOR Flash
  */
diff --git a/include/configs/work_92105.h b/include/configs/work_92105.h
index 373af03b8b50..332453759791 100644
--- a/include/configs/work_92105.h
+++ b/include/configs/work_92105.h
@@ -22,13 +22,6 @@ 
 #define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_SDRAM_BASE + SZ_512K \
 					 - GENERATED_GBL_DATA_SIZE)
 
-/*
- * Ethernet Driver
- */
-
-#define CONFIG_LPC32XX_ETH
-/* FIXME: remove "Waiting for PHY auto negotiation to complete..." message */
-
 #define CONFIG_RTC_DS1374
 
 /*