]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_DRIVER_TI_EMAC_USE_RMII to Kconfig
authorAdam Ford <aford173@gmail.com>
Fri, 3 Jul 2020 13:27:12 +0000 (08:27 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 28 Jul 2020 20:18:10 +0000 (16:18 -0400)
This converts the following to Kconfig:
   CONFIG_DRIVER_TI_EMAC_USE_RMII

Signed-off-by: Adam Ford <aford173@gmail.com>
configs/am3517_evm_defconfig
drivers/net/ti/Kconfig
include/configs/am3517_evm.h
include/configs/omapl138_lcdk.h
include/configs/tam3517-common.h
scripts/config_whitelist.txt

index f235978f305d5fd6f82b57c08e2d4b46407ec7e9..833a55cb707be3fb6e7580affe84277392118dfc 100644 (file)
@@ -63,6 +63,7 @@ CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000
 CONFIG_DM_ETH=y
 CONFIG_MII=y
 CONFIG_DRIVER_TI_EMAC=y
+CONFIG_DRIVER_TI_EMAC_USE_RMII=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_SINGLE=y
 CONFIG_DM_PMIC=y
index ecf642de10497ebad6a9a60425ac8c97d88f780e..f2dbbd0128d4f1f53e8ec3541f8e02e235f017c6 100644 (file)
@@ -14,6 +14,12 @@ config DRIVER_TI_EMAC
        help
           Support for davinci emac
 
+config DRIVER_TI_EMAC_USE_RMII
+       depends on DRIVER_TI_EMAC
+       bool "Use RMII"
+       help
+         Configure the TI EMAC driver to use RMII
+
 config DRIVER_TI_KEYSTONE_NET
        bool "TI Keystone 2 Ethernet"
        help
index fc7d399e2e144e3a180ea3f603a714a4da415396..0a35553da651f1c0a5b0b7677b6df2b19782f39f 100644 (file)
@@ -32,7 +32,6 @@
 /* I2C */
 
 /* Ethernet */
-#define CONFIG_DRIVER_TI_EMAC_USE_RMII
 #define CONFIG_BOOTP_DEFAULT
 #define CONFIG_BOOTP_SEND_HOSTNAME
 #define CONFIG_NET_RETRY_COUNT         10
index 4404fef7763974442559413c067760ac68333be8..ad3bacb8f26c1de3d945afad0ac86ddef78aa316 100644 (file)
  * Network & Ethernet Configuration
  */
 #ifdef CONFIG_DRIVER_TI_EMAC
-#undef CONFIG_DRIVER_TI_EMAC_USE_RMII
 #define CONFIG_BOOTP_DEFAULT
 #define CONFIG_BOOTP_SEND_HOSTNAME
 #define CONFIG_NET_RETRY_COUNT 10
index a98f9440530c51c2d0cffe3e1238dfe5d8756651..0787d39d55795239644cd365acf84603bdeebb4c 100644 (file)
  * ethernet support, EMAC
  *
  */
-#define CONFIG_DRIVER_TI_EMAC_USE_RMII
 #define CONFIG_BOOTP_SEND_HOSTNAME
 #define CONFIG_NET_RETRY_COUNT 10
 
index 90d6554f841ff1cfc70d9a23e5c3527fefb0f43a..5d8d84d0f5cd9b6cba1669fbd56172db29de20e7 100644 (file)
@@ -331,7 +331,6 @@ CONFIG_DRIVER_DM9000
 CONFIG_DRIVER_EP93XX_MAC
 CONFIG_DRIVER_NE2000
 CONFIG_DRIVER_NE2000_BASE
-CONFIG_DRIVER_TI_EMAC_USE_RMII
 CONFIG_DSP_CLUSTER_START
 CONFIG_DWC2_DFLT_SPEED_FULL
 CONFIG_DWC2_DMA_BURST_SIZE