Convert CONFIG_LPC32XX_ETH to Kconfig
authorTom Rini <trini@konsulko.com>
Fri, 18 Mar 2022 12:38:24 +0000 (08:38 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 25 Mar 2022 12:01:15 +0000 (12:01 +0000)
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
include/configs/devkit3250.h
include/configs/work_92105.h

index d63c0a9..a6171a7 100644 (file)
@@ -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
index 84098e7..bc5282a 100644 (file)
  */
 
 /*
- * Ethernet
- */
-#define CONFIG_LPC32XX_ETH
-
-/*
  * NOR Flash
  */
 #define CONFIG_SYS_MAX_FLASH_SECT      71
index 373af03..3324537 100644 (file)
 #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
 
 /*