Convert CONFIG_AT91_WANTS_COMMON_PHY to Kconfig

This converts the following to Kconfig:
   CONFIG_AT91_WANTS_COMMON_PHY

Cc: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2022-03-18 08:38:19 -04:00
parent 210a4b46bd
commit 5a606a4c97
10 changed files with 9 additions and 9 deletions

View file

@ -81,6 +81,7 @@ config TARGET_ETHERNUT5
config TARGET_SNAPPER9260
bool "Support snapper9260"
select AT91SAM9260
select AT91_WANTS_COMMON_PHY
select DM
select DM_GPIO
select DM_SERIAL
@ -89,6 +90,7 @@ config TARGET_SNAPPER9260
config TARGET_GURNARD
bool "Support gurnard"
select AT91SAM9G45
select AT91_WANTS_COMMON_PHY
select BOARD_LATE_INIT
select DM
select DM_ETH
@ -115,6 +117,7 @@ config TARGET_AT91SAM9263EK
config TARGET_USB_A9263
bool "Caloa USB A9260 board"
select AT91SAM9263
select AT91_WANTS_COMMON_PHY
config TARGET_PM9263
bool "Ronetix pm9263 board"
@ -250,6 +253,7 @@ config TARGET_MEESC
config TARGET_CORVUS
bool "Support corvus"
select AT91SAM9M10G45
select AT91_WANTS_COMMON_PHY
select DM
select DM_ETH
select DM_GPIO
@ -267,6 +271,7 @@ config TARGET_SAMA7G5EK
config TARGET_TAURUS
bool "Support taurus"
select AT91SAM9G20
select AT91_WANTS_COMMON_PHY
select DM
select DM_ETH
select DM_GPIO
@ -279,6 +284,7 @@ config TARGET_TAURUS
config TARGET_SMARTWEB
bool "Support smartweb"
select AT91SAM9260
select AT91_WANTS_COMMON_PHY
select DM
select DM_ETH
select DM_GPIO
@ -318,6 +324,9 @@ config AT91_GPIO_PULLUP
config ATMEL_LEGACY
bool "Legacy GPIO support"
config AT91_WANTS_COMMON_PHY
bool
source "board/atmel/at91sam9260ek/Kconfig"
source "board/atmel/at91sam9261ek/Kconfig"
source "board/atmel/at91sam9263ek/Kconfig"

View file

@ -186,7 +186,6 @@
/* Ethernet */
#define CONFIG_RESET_PHY_R 1
#define CONFIG_AT91_WANTS_COMMON_PHY
/* USB */
#define CONFIG_USB_ATMEL

View file

@ -48,7 +48,6 @@
/* Ethernet */
#define CONFIG_RESET_PHY_R
#define CONFIG_AT91_WANTS_COMMON_PHY
#ifdef CONFIG_NAND_BOOT
/* bootstrap + u-boot + env in nandflash */

View file

@ -57,7 +57,6 @@
/* Ethernet */
#define CONFIG_RMII
#define CONFIG_AT91_WANTS_COMMON_PHY
/* DFU class support */
#define DFU_MANIFEST_POLL_TIMEOUT 25000

View file

@ -41,7 +41,6 @@
/* Ethernet */
#define CONFIG_RESET_PHY_R
#define CONFIG_AT91_WANTS_COMMON_PHY
#ifdef CONFIG_NAND_BOOT
/* bootstrap + u-boot + env in nandflash */

View file

@ -81,7 +81,6 @@
*
*/
#define CONFIG_RMII /* use reduced MII inteface */
#define CONFIG_AT91_WANTS_COMMON_PHY
/* BOOTP and DHCP options */

View file

@ -40,7 +40,6 @@
/* Ethernet */
#define CONFIG_RMII
#define CONFIG_RESET_PHY_R
#define CONFIG_AT91_WANTS_COMMON_PHY
#define CONFIG_TFTP_PORT
/* USB */

View file

@ -41,7 +41,6 @@
/* Ethernet */
#define CONFIG_RMII
#define CONFIG_RESET_PHY_R
#define CONFIG_AT91_WANTS_COMMON_PHY
#define CONFIG_TFTP_PORT
/* LCD */

View file

@ -65,7 +65,6 @@
/* Ethernet */
#define CONFIG_RMII
#define CONFIG_AT91_WANTS_COMMON_PHY
/* USB */
#if defined(CONFIG_BOARD_TAURUS)

View file

@ -45,7 +45,6 @@
/* Ethernet */
#define CONFIG_RMII
#define CONFIG_AT91_WANTS_COMMON_PHY
/* USB */
#ifdef CONFIG_CMD_USB