Convert CONFIG_RMII to Kconfig
authorTom Rini <trini@konsulko.com>
Fri, 18 Mar 2022 12:38:22 +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_RMII

Cc: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
24 files changed:
configs/axm_defconfig
configs/corvus_defconfig
configs/devkit3250_defconfig
configs/ethernut5_defconfig
configs/gurnard_defconfig
configs/meesc_dataflash_defconfig
configs/meesc_defconfig
configs/smartweb_defconfig
configs/snapper9260_defconfig
configs/snapper9g20_defconfig
configs/taurus_defconfig
configs/usb_a9263_dataflash_defconfig
configs/vinco_defconfig
drivers/net/Kconfig
include/configs/corvus.h
include/configs/devkit3250.h
include/configs/ethernut5.h
include/configs/meesc.h
include/configs/smartweb.h
include/configs/snapper9260.h
include/configs/snapper9g45.h
include/configs/taurus.h
include/configs/usb_a9263.h
include/configs/vinco.h

index 3373e6291eaf14271ab967f18c1168cec9bef9da..c4ef342fa181eeeb509e78c7816fa8711e8ca41a 100644 (file)
@@ -83,6 +83,7 @@ CONFIG_SYS_NAND_U_BOOT_OFFS=0x20000
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_MACB=y
+CONFIG_RMII=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_AT91=y
 CONFIG_SPECIFY_CONSOLE_INDEX=y
index c7a59c75cc1987bd0898c17733946d35ea1cdcb8..3dd55c08bb15e34371896d9d857c98b2a891776f 100644 (file)
@@ -75,6 +75,7 @@ CONFIG_SYS_NAND_OOBSIZE=0x40
 CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
 CONFIG_SYS_NAND_U_BOOT_OFFS=0x20000
 CONFIG_MACB=y
+CONFIG_RMII=y
 CONFIG_ATMEL_USART=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
index 2a24e01b08c0a5ae3e34358e926c4e2d16f60188..df8d0d15704bd9ba344644a8a5255cb33ffe7d3b 100644 (file)
@@ -70,6 +70,7 @@ CONFIG_PHYLIB=y
 CONFIG_PHY_ADDR_ENABLE=y
 CONFIG_PHY_ADDR=31
 CONFIG_PHY_SMSC=y
+CONFIG_RMII=y
 CONFIG_SPECIFY_CONSOLE_INDEX=y
 CONFIG_CONS_INDEX=5
 CONFIG_SYS_NS16550=y
index 339e8d147ac105a2ee20a8a01c408e7d2301475a..4a52228b923c0cfe6c9252dcf31a9b96fe03859c 100644 (file)
@@ -75,6 +75,7 @@ CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_ATMEL=y
 CONFIG_SPI_FLASH_DATAFLASH=y
 CONFIG_MACB=y
+CONFIG_RMII=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_AT91=y
 CONFIG_RTC_PCF8563=y
index b90437f94c534b8998abcd998e604c7de7fdca36..47678e6c5124ad02e40cd487b0bacec33fb927bb 100644 (file)
@@ -49,6 +49,7 @@ CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_ATMEL=y
 CONFIG_ATMEL_NAND_HWECC=y
 CONFIG_MACB=y
+CONFIG_RMII=y
 CONFIG_ATMEL_USART=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
index 5858a99abd2115e2c02318d58588f9d31e944ca7..54bea29032b29a4d1b5590ea07fa5e8faaff11d2 100644 (file)
@@ -42,6 +42,7 @@ CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_ATMEL=y
 CONFIG_SPI_FLASH_DATAFLASH=y
 CONFIG_MACB=y
+CONFIG_RMII=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_AT91=y
 CONFIG_DM_SERIAL=y
index 9141bdfc749ba71a2c6fc3a3f7d9cc3b46d74375..312c15f7deba5305197863f397536aeab2264178 100644 (file)
@@ -43,6 +43,7 @@ CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_ATMEL=y
 CONFIG_SPI_FLASH_DATAFLASH=y
 CONFIG_MACB=y
+CONFIG_RMII=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_AT91=y
 CONFIG_DM_SERIAL=y
index ecd689f6bf462b0521c22802773683c1ad3cf3c9..6ff8988935947c32cdaad969fc61517795b86461 100644 (file)
@@ -75,6 +75,7 @@ CONFIG_SYS_NAND_OOBSIZE=0x40
 CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
 CONFIG_SYS_NAND_U_BOOT_OFFS=0x20000
 CONFIG_MACB=y
+CONFIG_RMII=y
 CONFIG_ATMEL_USART=y
 CONFIG_USB=y
 CONFIG_USB_GADGET=y
index 33b2f14e12fde2949be184d1687029abd0469e53..76b51d9fd4b781630b4bd54012c04f62af5e53bd 100644 (file)
@@ -50,4 +50,5 @@ CONFIG_MTD_RAW_NAND=y
 # CONFIG_SYS_NAND_USE_FLASH_BBT is not set
 CONFIG_NAND_ATMEL=y
 CONFIG_MACB=y
+CONFIG_RMII=y
 CONFIG_ATMEL_USART=y
index eb345072f26a435ab9514352ae28c68c33448255..c6eca225e27e663a4de0e7d430637a90802a5f1e 100644 (file)
@@ -49,4 +49,5 @@ CONFIG_MTD_RAW_NAND=y
 # CONFIG_SYS_NAND_USE_FLASH_BBT is not set
 CONFIG_NAND_ATMEL=y
 CONFIG_MACB=y
+CONFIG_RMII=y
 CONFIG_ATMEL_USART=y
index e7b6617767998c849fd6545eb31d7ca436d7054c..76f902b1fa5e2b6d611bdbd1013c37b5d8de5534 100644 (file)
@@ -89,6 +89,7 @@ CONFIG_SYS_NAND_U_BOOT_OFFS=0x20000
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_MACB=y
+CONFIG_RMII=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_AT91=y
 CONFIG_SPECIFY_CONSOLE_INDEX=y
index e38313b9baf526621647f4e61cc7441eb482c298..b609bbbb3e503904a86a5bb0e5be7685eb69007d 100644 (file)
@@ -51,6 +51,7 @@ CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_ATMEL=y
 CONFIG_SPI_FLASH_DATAFLASH=y
 CONFIG_MACB=y
+CONFIG_RMII=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_AT91=y
 CONFIG_DM_SERIAL=y
index 85e9f62227a2cb182711a64cd80a75be4861ee55..2eb22829eeb7af56449cdf3613350c55db7cfce8 100644 (file)
@@ -45,6 +45,7 @@ CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_PHY_SMSC=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_MACB=y
+CONFIG_RMII=y
 CONFIG_ATMEL_USART=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
index 71e0cbafb4121c7798e6829aac63e16b0d2b2d45..d63c0a986a8049faa79916629ab040e1878c8276 100644 (file)
@@ -535,6 +535,11 @@ config MII
        help
          Enable support of the Media-Independent Interface (MII)
 
+config RMII
+       bool "Enable RMII"
+       help
+         Enable support of the Reduced Media-Independent Interface (MII)
+
 config PCNET
        bool "AMD PCnet series Ethernet controller driver"
        help
index 66eb8e9302ba24ef9299fb661eff556a0c5bd345..18bb5547fa956ef044325bc2853e5e7ac849819a 100644 (file)
@@ -55,9 +55,6 @@
 #define CONFIG_SYS_NAND_READY_PIN              AT91_PIN_PC8
 #endif
 
-/* Ethernet */
-#define CONFIG_RMII
-
 /* DFU class support */
 #define DFU_MANIFEST_POLL_TIMEOUT      25000
 
index ff5ce55a03f01b30b226d76510b48335eeaab2c9..84098e753018f06e2f3253670a2f6715476764a8 100644 (file)
@@ -32,7 +32,6 @@
 /*
  * Ethernet
  */
-#define CONFIG_RMII
 #define CONFIG_LPC32XX_ETH
 
 /*
index 860709a27708205b6511fbbf4af848640269297b..3231f3cc0350e09a1fbc002b131b85f22f218f63 100644 (file)
@@ -54,7 +54,6 @@
 /* JFFS2 */
 
 /* Ethernet */
-#define CONFIG_RMII
 #define CONFIG_PHY_ID                  0
 #define CONFIG_MACB_SEARCH_PHY
 
index fcc103cd29d924127a8b1da7c78bda78200bd0a5..fa4513b2b999bc57168bfcaa699ca6b708e7b816 100644 (file)
@@ -66,9 +66,6 @@
 # define CONFIG_SYS_NAND_READY_PIN             GPIO_PIN_PA(22)
 #endif
 
-/* Ethernet */
-#define CONFIG_RMII
-
 /* hw-controller addresses */
 #define CONFIG_ET1100_BASE             0x70000000
 
index 7b6395581bf2202028d8f6d7c4e4b53ca098a361..a0b353902e765d1c06b617c2ae21ea061ebe59fc 100644 (file)
 #define CONFIG_USART_BASE              ATMEL_BASE_DBGU
 #define CONFIG_USART_ID                        ATMEL_ID_SYS
 
-/*
- * Ethernet configuration
- *
- */
-#define CONFIG_RMII                    /* use reduced MII inteface */
-
-/* BOOTP and DHCP options */
-
 #if !defined(CONFIG_SPL_BUILD)
 /* USB configuration */
 #define CONFIG_USB_ATMEL
index ff670565ce07f37498e15b3ef935b618acfc622d..2f0309f0ccdebbbd84c1430c3511a908faac90fd 100644 (file)
@@ -38,7 +38,6 @@
 #define CONFIG_SYS_NAND_READY_PIN      AT91_PIN_PC13
 
 /* Ethernet */
-#define CONFIG_RMII
 #define CONFIG_TFTP_PORT
 
 /* USB */
index 26a42c9b2d03951ea236a4ff8ea4b5e4ac071ff8..72611fe8503d4ebed365b3323c4697194b389d90 100644 (file)
@@ -39,7 +39,6 @@
 #define CONFIG_SYS_NAND_READY_PIN      AT91_PIN_PC8
 
 /* Ethernet */
-#define CONFIG_RMII
 #define CONFIG_TFTP_PORT
 
 /* LCD */
index 6fd60e5dde712286030a4cfc7f6b61964de357d6..b0d06e7b55286f81bc6e22453f06f40dba50a75e 100644 (file)
@@ -63,9 +63,6 @@
 #define CONFIG_SYS_NAND_READY_PIN      AT91_PIN_PC13
 #endif
 
-/* Ethernet */
-#define CONFIG_RMII
-
 /* USB */
 #if defined(CONFIG_BOARD_TAURUS)
 #define CONFIG_USB_ATMEL
index f6a4a4cbe00df1ed37c13ef9b7963cc1f52cef30..2b6078a1cc9a71c4ecb7c33f432b009c4cd954fd 100644 (file)
@@ -43,9 +43,6 @@
 #define CONFIG_SYS_NAND_READY_PIN              GPIO_PIN_PA(22)
 #endif
 
-/* Ethernet */
-#define CONFIG_RMII
-
 /* USB */
 #ifdef CONFIG_CMD_USB
 #define CONFIG_USB_ATMEL
index a6511b34f52ba79e2aac076eb59b9cfb7770a851..16c020982b39854024a6f9d6bf0bf92c050cc2dc 100644 (file)
@@ -49,7 +49,6 @@
 /* USB device */
 
 /* Ethernet Hardware */
-#define CONFIG_RMII
 #define CONFIG_MACB_SEARCH_PHY
 
 #ifdef CONFIG_SPI_BOOT