Convert CONFIG_DRIVER_TI_EMAC_USE_RMII to Kconfig

This converts the following to Kconfig:
   CONFIG_DRIVER_TI_EMAC_USE_RMII

Signed-off-by: Adam Ford <aford173@gmail.com>
This commit is contained in:
Adam Ford 2020-07-03 08:27:12 -05:00 committed by Tom Rini
parent 3879106414
commit bc3cff9453
6 changed files with 7 additions and 4 deletions

View File

@ -63,6 +63,7 @@ CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000
CONFIG_DM_ETH=y CONFIG_DM_ETH=y
CONFIG_MII=y CONFIG_MII=y
CONFIG_DRIVER_TI_EMAC=y CONFIG_DRIVER_TI_EMAC=y
CONFIG_DRIVER_TI_EMAC_USE_RMII=y
CONFIG_PINCTRL=y CONFIG_PINCTRL=y
CONFIG_PINCTRL_SINGLE=y CONFIG_PINCTRL_SINGLE=y
CONFIG_DM_PMIC=y CONFIG_DM_PMIC=y

View File

@ -14,6 +14,12 @@ config DRIVER_TI_EMAC
help help
Support for davinci emac 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 config DRIVER_TI_KEYSTONE_NET
bool "TI Keystone 2 Ethernet" bool "TI Keystone 2 Ethernet"
help help

View File

@ -32,7 +32,6 @@
/* I2C */ /* I2C */
/* Ethernet */ /* Ethernet */
#define CONFIG_DRIVER_TI_EMAC_USE_RMII
#define CONFIG_BOOTP_DEFAULT #define CONFIG_BOOTP_DEFAULT
#define CONFIG_BOOTP_SEND_HOSTNAME #define CONFIG_BOOTP_SEND_HOSTNAME
#define CONFIG_NET_RETRY_COUNT 10 #define CONFIG_NET_RETRY_COUNT 10

View File

@ -152,7 +152,6 @@
* Network & Ethernet Configuration * Network & Ethernet Configuration
*/ */
#ifdef CONFIG_DRIVER_TI_EMAC #ifdef CONFIG_DRIVER_TI_EMAC
#undef CONFIG_DRIVER_TI_EMAC_USE_RMII
#define CONFIG_BOOTP_DEFAULT #define CONFIG_BOOTP_DEFAULT
#define CONFIG_BOOTP_SEND_HOSTNAME #define CONFIG_BOOTP_SEND_HOSTNAME
#define CONFIG_NET_RETRY_COUNT 10 #define CONFIG_NET_RETRY_COUNT 10

View File

@ -117,7 +117,6 @@
* ethernet support, EMAC * ethernet support, EMAC
* *
*/ */
#define CONFIG_DRIVER_TI_EMAC_USE_RMII
#define CONFIG_BOOTP_SEND_HOSTNAME #define CONFIG_BOOTP_SEND_HOSTNAME
#define CONFIG_NET_RETRY_COUNT 10 #define CONFIG_NET_RETRY_COUNT 10

View File

@ -331,7 +331,6 @@ CONFIG_DRIVER_DM9000
CONFIG_DRIVER_EP93XX_MAC CONFIG_DRIVER_EP93XX_MAC
CONFIG_DRIVER_NE2000 CONFIG_DRIVER_NE2000
CONFIG_DRIVER_NE2000_BASE CONFIG_DRIVER_NE2000_BASE
CONFIG_DRIVER_TI_EMAC_USE_RMII
CONFIG_DSP_CLUSTER_START CONFIG_DSP_CLUSTER_START
CONFIG_DWC2_DFLT_SPEED_FULL CONFIG_DWC2_DFLT_SPEED_FULL
CONFIG_DWC2_DMA_BURST_SIZE CONFIG_DWC2_DMA_BURST_SIZE