Skip to contentSkip to conversation

Convert CONFIG_DRIVER_TI_EMAC_USE_RMII to Kconfig

PATCH New Adam Ford 2 participants 2 messages Jul 3, 2020 – Jul 28, 2020 Network drivers

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 Convert CONFIG_DRIVER_TI_EMAC_USE_RMII to Kconfig

This converts the following to Kconfig:
CONFIG_DRIVER_TI_EMAC_USE_RMII

configs/am3517_evm_defconfig +1 -0
index 58fb91c1c5..a78a596d4d 100644
@@ -62,6 +62,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
drivers/net/ti/Kconfig +6 -0
index ecf642de10..f2dbbd0128 100644
@@ -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
include/configs/am3517_evm.h +0 -1
index 18d0568287..f61bb1d44d 100644
@@ -34,7 +34,6 @@
 /* I2C */
 
 /* Ethernet */
-#define CONFIG_DRIVER_TI_EMAC_USE_RMII
 #define CONFIG_BOOTP_DEFAULT
 #define CONFIG_BOOTP_DNS2
 #define CONFIG_BOOTP_SEND_HOSTNAME
include/configs/omapl138_lcdk.h +0 -1
index 114c773fd9..2d588d9003 100644
@@ -152,7 +152,6 @@
  * Network & Ethernet Configuration
  */
 #ifdef CONFIG_DRIVER_TI_EMAC
-#undef	CONFIG_DRIVER_TI_EMAC_USE_RMII
 #define CONFIG_BOOTP_DEFAULT
 #define CONFIG_BOOTP_DNS2
 #define CONFIG_BOOTP_SEND_HOSTNAME
include/configs/tam3517-common.h +0 -1
index b127a774ac..31c582bde6 100644
@@ -118,7 +118,6 @@
  * ethernet support, EMAC
  *
  */
-#define CONFIG_DRIVER_TI_EMAC_USE_RMII
 #define CONFIG_BOOTP_DNS2
 #define CONFIG_BOOTP_SEND_HOSTNAME
 #define CONFIG_NET_RETRY_COUNT 10
scripts/config_whitelist.txt +0 -1
index 61d0d8cc6f..9a7f0fba0c 100644
@@ -341,7 +341,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_DUOVERO
 CONFIG_DWC2_DFLT_SPEED_FULL
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 Convert CONFIG_DRIVER_TI_EMAC_USE_RMII to Kconfig

configs/am3517_evm_defconfig

Quoted 7 lines · Adam Ford

This converts the following to Kconfig:
CONFIG_DRIVER_TI_EMAC_USE_RMII

configs/am3517_evm_defconfig +0 -0
index 58fb91c1c5..a78a596d4d 100644

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200728/bebf0720/attachment.sig>