]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 d63c0a986a8049faa79916629ab040e1878c8276..a6171a7c7ffd458b267543a56038ca1d0bab0499 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 84098e753018f06e2f3253670a2f6715476764a8..bc5282a48934c03cb4da9d709ba14811b3da1ffe 100644 (file)
  * GPIO
  */
 
-/*
- * Ethernet
- */
-#define CONFIG_LPC32XX_ETH
-
 /*
  * NOR Flash
  */
index 373af03b8b50e8b4651aef4ee0e548311719d8ae..332453759791e4300796ee3d92147a152f8fd6e0 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
 
 /*