]> git.baikalelectronics.ru Git - uboot.git/commitdiff
Convert CONFIG_AT91_WANTS_COMMON_PHY to Kconfig
authorTom Rini <trini@konsulko.com>
Fri, 18 Mar 2022 12:38:19 +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_AT91_WANTS_COMMON_PHY

Cc: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-at91/Kconfig
include/configs/at91sam9263ek.h
include/configs/at91sam9m10g45ek.h
include/configs/corvus.h
include/configs/pm9g45.h
include/configs/smartweb.h
include/configs/snapper9260.h
include/configs/snapper9g45.h
include/configs/taurus.h
include/configs/usb_a9263.h

index fc193b935e85e95e17783f4f6e84369658abab44..145c4b276bfabc5987a88c8e6c8c1b465197ec81 100644 (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"
index b084f96afd865d15d84b03f7d5299575d53e895a..0fe4217d230b01c25291b8eaea7046ddf529b531 100644 (file)
 
 /* Ethernet */
 #define CONFIG_RESET_PHY_R             1
-#define CONFIG_AT91_WANTS_COMMON_PHY
 
 /* USB */
 #define CONFIG_USB_ATMEL
index 0f5d991022c9ce5d24febdb27e3be4097fd257d3..a664297364827d85fd45e1abe94c55374d9e0e6a 100644 (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 */
index 2aabd4bbe2e4b32ab694fc3789d2ccf4b6e2b235..66eb8e9302ba24ef9299fb661eff556a0c5bd345 100644 (file)
@@ -57,7 +57,6 @@
 
 /* Ethernet */
 #define CONFIG_RMII
-#define CONFIG_AT91_WANTS_COMMON_PHY
 
 /* DFU class support */
 #define DFU_MANIFEST_POLL_TIMEOUT      25000
index 61a7c6255fed6ab17d9b9c0bb14a2b185c56220f..15720719840a44a5f660a07db3e02a5fa74bd697 100644 (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 */
index 259c05df5534a879b6cb60fd5d2c8893be9dd9fc..7b6395581bf2202028d8f6d7c4e4b53ca098a361 100644 (file)
@@ -81,7 +81,6 @@
  *
  */
 #define CONFIG_RMII                    /* use reduced MII inteface */
-#define CONFIG_AT91_WANTS_COMMON_PHY
 
 /* BOOTP and DHCP options */
 
index 028c6234a073081f2c8cb34f052eb76c2b9336eb..ffa21020699284fb4d014b2611d048f53810bb92 100644 (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 */
index 55e51b4b469d4ef589f73d99f44136ee8fef8979..beb21d84fd737a48b68c622f8ae7a9c7ec2c22c3 100644 (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 */
index 4ea3607116e1246d6ccf0e2731ee0902108d55de..6fd60e5dde712286030a4cfc7f6b61964de357d6 100644 (file)
@@ -65,7 +65,6 @@
 
 /* Ethernet */
 #define CONFIG_RMII
-#define CONFIG_AT91_WANTS_COMMON_PHY
 
 /* USB */
 #if defined(CONFIG_BOARD_TAURUS)
index 128be9262a14ea57a72e1cbacfbe9c95d9999378..f6a4a4cbe00df1ed37c13ef9b7963cc1f52cef30 100644 (file)
@@ -45,7 +45,6 @@
 
 /* Ethernet */
 #define CONFIG_RMII
-#define CONFIG_AT91_WANTS_COMMON_PHY
 
 /* USB */
 #ifdef CONFIG_CMD_USB