summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-03-18 08:38:20 -0400
committerTom Rini <[email protected]>2022-03-25 12:01:15 +0000
commit29cc2b542d9f4f4c811516b9fdbe4ba3018c6463 (patch)
tree54915dbb9871c3a7c88440e705853bde99f31f12 /include
parent5a606a4c977dda5d3079502dca12800c62a68465 (diff)
Convert CONFIG_RESET_PHY_R to Kconfig
This converts the following to Kconfig: CONFIG_RESET_PHY_R Cc: Ramon Fried <[email protected]> Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/at91sam9261ek.h1
-rw-r--r--include/configs/at91sam9263ek.h3
-rw-r--r--include/configs/at91sam9m10g45ek.h3
-rw-r--r--include/configs/dockstar.h3
-rw-r--r--include/configs/dreamplug.h3
-rw-r--r--include/configs/edminiv2.h1
-rw-r--r--include/configs/goflexhome.h3
-rw-r--r--include/configs/ib62x0.h1
-rw-r--r--include/configs/iconnect.h3
-rw-r--r--include/configs/ls1088a_common.h5
-rw-r--r--include/configs/ls2080a_common.h5
-rw-r--r--include/configs/lsxl.h1
-rw-r--r--include/configs/lx2160a_common.h5
-rw-r--r--include/configs/meesc.h1
-rw-r--r--include/configs/nsa310s.h1
-rw-r--r--include/configs/pm9g45.h3
-rw-r--r--include/configs/pogo_e02.h3
-rw-r--r--include/configs/pogo_v4.h3
-rw-r--r--include/configs/snapper9260.h1
-rw-r--r--include/configs/snapper9g45.h1
20 files changed, 0 insertions, 50 deletions
diff --git a/include/configs/at91sam9261ek.h b/include/configs/at91sam9261ek.h
index fefdb837092..0b6706b95d9 100644
--- a/include/configs/at91sam9261ek.h
+++ b/include/configs/at91sam9261ek.h
@@ -58,7 +58,6 @@
#define DM9000_DATA (CONFIG_DM9000_BASE + 4)
#define CONFIG_DM9000_USE_16BIT
#define CONFIG_DM9000_NO_SROM
-#define CONFIG_RESET_PHY_R
/* USB */
#define CONFIG_USB_ATMEL
diff --git a/include/configs/at91sam9263ek.h b/include/configs/at91sam9263ek.h
index 0fe4217d230..c48810d8125 100644
--- a/include/configs/at91sam9263ek.h
+++ b/include/configs/at91sam9263ek.h
@@ -184,9 +184,6 @@
#define CONFIG_SYS_NAND_READY_PIN AT91_PIN_PA22
#endif
-/* Ethernet */
-#define CONFIG_RESET_PHY_R 1
-
/* USB */
#define CONFIG_USB_ATMEL
#define CONFIG_USB_ATMEL_CLK_SEL_PLLB
diff --git a/include/configs/at91sam9m10g45ek.h b/include/configs/at91sam9m10g45ek.h
index a6642973648..7e8e35b7aa6 100644
--- a/include/configs/at91sam9m10g45ek.h
+++ b/include/configs/at91sam9m10g45ek.h
@@ -46,9 +46,6 @@
#endif
-/* Ethernet */
-#define CONFIG_RESET_PHY_R
-
#ifdef CONFIG_NAND_BOOT
/* bootstrap + u-boot + env in nandflash */
#elif CONFIG_SD_BOOT
diff --git a/include/configs/dockstar.h b/include/configs/dockstar.h
index 736c724736c..381a189149e 100644
--- a/include/configs/dockstar.h
+++ b/include/configs/dockstar.h
@@ -35,8 +35,5 @@
*/
#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
#define CONFIG_PHY_BASE_ADR 0
-#ifdef CONFIG_RESET_PHY_R
-#undef CONFIG_RESET_PHY_R /* remove legacy reset_phy() */
-#endif
#endif /* _CONFIG_DOCKSTAR_H */
diff --git a/include/configs/dreamplug.h b/include/configs/dreamplug.h
index fd12a391875..07e2b8781fd 100644
--- a/include/configs/dreamplug.h
+++ b/include/configs/dreamplug.h
@@ -29,9 +29,6 @@
*/
#define CONFIG_MVGBE_PORTS {1, 1} /* enable both ports */
#define CONFIG_PHY_BASE_ADR 0
-#ifdef CONFIG_RESET_PHY_R
-#undef CONFIG_RESET_PHY_R /* remove legacy reset_phy() */
-#endif
/*
* SATA Driver configuration
diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h
index a599722ae3b..ec04ed9c438 100644
--- a/include/configs/edminiv2.h
+++ b/include/configs/edminiv2.h
@@ -100,7 +100,6 @@
#define CONFIG_MVGBE_PORTS {1} /* enable port 0 only */
#define CONFIG_SKIP_LOCAL_MAC_RANDOMIZATION /* don't randomize MAC */
#define CONFIG_PHY_BASE_ADR 0x8
-#define CONFIG_RESET_PHY_R /* use reset_phy() to init mv8831116 PHY */
#define CONFIG_SYS_FAULT_ECHO_LINK_DOWN /* detect link using phy */
#endif
diff --git a/include/configs/goflexhome.h b/include/configs/goflexhome.h
index 51e671a9517..832441a7b72 100644
--- a/include/configs/goflexhome.h
+++ b/include/configs/goflexhome.h
@@ -43,9 +43,6 @@
*/
#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
#define CONFIG_PHY_BASE_ADR 0
-#ifdef CONFIG_RESET_PHY_R
-#undef CONFIG_RESET_PHY_R /* remove legacy reset_phy() */
-#endif
/* SATA driver configuration */
#define CONFIG_LBA48
diff --git a/include/configs/ib62x0.h b/include/configs/ib62x0.h
index 2598deaac6e..aff948cfe70 100644
--- a/include/configs/ib62x0.h
+++ b/include/configs/ib62x0.h
@@ -32,7 +32,6 @@
#ifdef CONFIG_CMD_NET
#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
#define CONFIG_PHY_BASE_ADR 0
-#undef CONFIG_RESET_PHY_R
#endif /* CONFIG_CMD_NET */
/*
diff --git a/include/configs/iconnect.h b/include/configs/iconnect.h
index 44a4b4409f9..cb4cf9beb74 100644
--- a/include/configs/iconnect.h
+++ b/include/configs/iconnect.h
@@ -26,9 +26,6 @@
#ifdef CONFIG_CMD_NET
#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
#define CONFIG_PHY_BASE_ADR 11
-#ifdef CONFIG_RESET_PHY_R
-#undef CONFIG_RESET_PHY_R /* remove legacy reset_phy() */
-#endif
#endif /* CONFIG_CMD_NET */
#endif /* _CONFIG_ICONNECT_H */
diff --git a/include/configs/ls1088a_common.h b/include/configs/ls1088a_common.h
index 965fdfead24..121fd3cf182 100644
--- a/include/configs/ls1088a_common.h
+++ b/include/configs/ls1088a_common.h
@@ -108,11 +108,6 @@ unsigned long long get_qixis_addr(void);
#define CONFIG_SYS_LS_MC_AIOP_IMG_MAX_LENGTH 0x200000
#define CONFIG_SYS_LS_MC_DRAM_AIOP_IMG_OFFSET 0x07000000
-/* Define phy_reset function to boot the MC based on mcinitcmd.
- * This happens late enough to properly fixup u-boot env MAC addresses.
- */
-#define CONFIG_RESET_PHY_R
-
/*
* Carve out a DDR region which will not be used by u-boot/Linux
*
diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h
index 766da3969d2..9027bd06b02 100644
--- a/include/configs/ls2080a_common.h
+++ b/include/configs/ls2080a_common.h
@@ -120,11 +120,6 @@ unsigned long long get_qixis_addr(void);
#define CONFIG_SYS_LS_MC_AIOP_IMG_MAX_LENGTH 0x200000
#define CONFIG_SYS_LS_MC_DRAM_AIOP_IMG_OFFSET 0x07000000
-/* Define phy_reset function to boot the MC based on mcinitcmd.
- * This happens late enough to properly fixup u-boot env MAC addresses.
- */
-#define CONFIG_RESET_PHY_R
-
/*
* Carve out a DDR region which will not be used by u-boot/Linux
*
diff --git a/include/configs/lsxl.h b/include/configs/lsxl.h
index 7fa4f00734c..19fd702ab24 100644
--- a/include/configs/lsxl.h
+++ b/include/configs/lsxl.h
@@ -92,7 +92,6 @@
#ifdef CONFIG_CMD_NET
#define CONFIG_MVGBE_PORTS {0, 1} /* enable port 1 only */
#define CONFIG_PHY_BASE_ADR 7
-#undef CONFIG_RESET_PHY_R
#endif /* CONFIG_CMD_NET */
#ifdef CONFIG_SATA
diff --git a/include/configs/lx2160a_common.h b/include/configs/lx2160a_common.h
index 469989a97df..38c4c310237 100644
--- a/include/configs/lx2160a_common.h
+++ b/include/configs/lx2160a_common.h
@@ -68,11 +68,6 @@
#define CONFIG_SYS_LS_MC_DRAM_DPL_OFFSET 0x00F20000
#define CONFIG_SYS_LS_MC_BOOT_TIMEOUT_MS 5000
-/* Define phy_reset function to boot the MC based on mcinitcmd.
- * This happens late enough to properly fixup u-boot env MAC addresses.
- */
-#define CONFIG_RESET_PHY_R
-
/*
* Carve out a DDR region which will not be used by u-boot/Linux
*
diff --git a/include/configs/meesc.h b/include/configs/meesc.h
index df2902116c3..fcc103cd29d 100644
--- a/include/configs/meesc.h
+++ b/include/configs/meesc.h
@@ -68,7 +68,6 @@
/* Ethernet */
#define CONFIG_RMII
-#undef CONFIG_RESET_PHY_R
/* hw-controller addresses */
#define CONFIG_ET1100_BASE 0x70000000
diff --git a/include/configs/nsa310s.h b/include/configs/nsa310s.h
index ccf4519119a..485a3fe42dc 100644
--- a/include/configs/nsa310s.h
+++ b/include/configs/nsa310s.h
@@ -27,7 +27,6 @@
#ifdef CONFIG_CMD_NET
#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
#define CONFIG_PHY_BASE_ADR 1
-#define CONFIG_RESET_PHY_R
#endif /* CONFIG_CMD_NET */
/* SATA driver configuration */
diff --git a/include/configs/pm9g45.h b/include/configs/pm9g45.h
index 15720719840..3a59045df7f 100644
--- a/include/configs/pm9g45.h
+++ b/include/configs/pm9g45.h
@@ -39,9 +39,6 @@
#define CONFIG_SYS_NAND_READY_PIN AT91_PIN_PD3
#endif
-/* Ethernet */
-#define CONFIG_RESET_PHY_R
-
#ifdef CONFIG_NAND_BOOT
/* bootstrap + u-boot + env in nandflash */
#elif CONFIG_SD_BOOT
diff --git a/include/configs/pogo_e02.h b/include/configs/pogo_e02.h
index 51c802f2b31..cb221501e26 100644
--- a/include/configs/pogo_e02.h
+++ b/include/configs/pogo_e02.h
@@ -31,8 +31,5 @@
*/
#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
#define CONFIG_PHY_BASE_ADR 0
-#ifdef CONFIG_RESET_PHY_R
-#undef CONFIG_RESET_PHY_R /* remove legacy reset_phy() */
-#endif
#endif /* _CONFIG_POGO_E02_H */
diff --git a/include/configs/pogo_v4.h b/include/configs/pogo_v4.h
index f8555f6e48a..3365ebe3d2f 100644
--- a/include/configs/pogo_v4.h
+++ b/include/configs/pogo_v4.h
@@ -38,9 +38,6 @@
*/
#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
#define CONFIG_PHY_BASE_ADR 0
-#ifdef CONFIG_RESET_PHY_R
-#undef CONFIG_RESET_PHY_R /* remove legacy reset_phy() */
-#endif
/*
* Support large disk for SATA and USB
diff --git a/include/configs/snapper9260.h b/include/configs/snapper9260.h
index ffa21020699..ff670565ce0 100644
--- a/include/configs/snapper9260.h
+++ b/include/configs/snapper9260.h
@@ -39,7 +39,6 @@
/* Ethernet */
#define CONFIG_RMII
-#define CONFIG_RESET_PHY_R
#define CONFIG_TFTP_PORT
/* USB */
diff --git a/include/configs/snapper9g45.h b/include/configs/snapper9g45.h
index beb21d84fd7..26a42c9b2d0 100644
--- a/include/configs/snapper9g45.h
+++ b/include/configs/snapper9g45.h
@@ -40,7 +40,6 @@
/* Ethernet */
#define CONFIG_RMII
-#define CONFIG_RESET_PHY_R
#define CONFIG_TFTP_PORT
/* LCD */