summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-03-18 15:38:20 +0300
committerTom Rini <trini@konsulko.com>2022-03-25 15:01:15 +0300
commit29cc2b542d9f4f4c811516b9fdbe4ba3018c6463 (patch)
tree54915dbb9871c3a7c88440e705853bde99f31f12 /include
parent5a606a4c977dda5d3079502dca12800c62a68465 (diff)
downloadu-boot-29cc2b542d9f4f4c811516b9fdbe4ba3018c6463.tar.xz
Convert CONFIG_RESET_PHY_R to Kconfig
This converts the following to Kconfig: CONFIG_RESET_PHY_R Cc: Ramon Fried <rfried.dev@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com>
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 fefdb83709..0b6706b95d 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 0fe4217d23..c48810d812 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 a664297364..7e8e35b7aa 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 736c724736..381a189149 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 fd12a39187..07e2b8781f 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 a599722ae3..ec04ed9c43 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 51e671a951..832441a7b7 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 2598deaac6..aff948cfe7 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 44a4b4409f..cb4cf9beb7 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 965fdfead2..121fd3cf18 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 766da3969d..9027bd06b0 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 7fa4f00734..19fd702ab2 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 469989a97d..38c4c31023 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 df2902116c..fcc103cd29 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 ccf4519119..485a3fe42d 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 1572071984..3a59045df7 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 51c802f2b3..cb221501e2 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 f8555f6e48..3365ebe3d2 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 ffa2102069..ff670565ce 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 beb21d84fd..26a42c9b2d 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 */