summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2025-06-30 20:51:15 +0200
committerMarek Vasut <marek.vasut+renesas@mailbox.org>2025-07-10 19:26:56 +0200
commite583ea549ef56f1d867ef1beb99049206973e6b6 (patch)
treea379d2d60cea474b2dc4ff31585a64730a933c0b
parent397b5e9ce4896dfa20451bf3a5a41ba03208d61d (diff)
net: sh_eth: arm: renesas: README: Drop CFG_SH_ETHER_PHY_ADDR
Drop CFG_SH_ETHER_PHY_ADDR from README and configuration files, this value is never used, PHY address is extracted from control DT instead. No functional change intended. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
-rw-r--r--README3
-rw-r--r--drivers/net/sh_eth.c4
-rw-r--r--include/configs/alt.h1
-rw-r--r--include/configs/condor.h1
-rw-r--r--include/configs/gose.h1
-rw-r--r--include/configs/grpeach.h1
-rw-r--r--include/configs/koelsch.h1
-rw-r--r--include/configs/lager.h1
-rw-r--r--include/configs/porter.h1
-rw-r--r--include/configs/silk.h1
-rw-r--r--include/configs/stout.h1
-rw-r--r--include/configs/v3hsk.h1
12 files changed, 0 insertions, 17 deletions
diff --git a/README b/README
index 7acf39540c2..dbf66bd83ac 100644
--- a/README
+++ b/README
@@ -379,9 +379,6 @@ The following options need to be configured:
CONFIG_SH_ETHER
Support for Renesas on-chip Ethernet controller
- CFG_SH_ETHER_PHY_ADDR
- Define the ETH PHY's address
-
- TPM Support:
CONFIG_TPM
Support TPM devices.
diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c
index 4d9cdf17b46..1160c1d6cfa 100644
--- a/drivers/net/sh_eth.c
+++ b/drivers/net/sh_eth.c
@@ -29,10 +29,6 @@
#include "sh_eth.h"
-#ifndef CFG_SH_ETHER_PHY_ADDR
-# error "Please define CFG_SH_ETHER_PHY_ADDR"
-#endif
-
static void flush_cache_wback(void *addr, unsigned long len)
{
flush_dcache_range((unsigned long)addr,
diff --git a/include/configs/alt.h b/include/configs/alt.h
index 987fd25bb4c..7db01cedb8b 100644
--- a/include/configs/alt.h
+++ b/include/configs/alt.h
@@ -21,7 +21,6 @@
#define RCAR_GEN2_UBOOT_SDRAM_SIZE (512 * 1024 * 1024)
/* SH Ether */
-#define CFG_SH_ETHER_PHY_ADDR 0x1
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
/* Board Clock */
diff --git a/include/configs/condor.h b/include/configs/condor.h
index b2d66c785fc..3be0f99ec4b 100644
--- a/include/configs/condor.h
+++ b/include/configs/condor.h
@@ -14,7 +14,6 @@
/* Environment compatibility */
/* SH Ether */
-#define CFG_SH_ETHER_PHY_ADDR 0x1
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
/* Board Clock */
diff --git a/include/configs/gose.h b/include/configs/gose.h
index acef925855a..a5537ee30b2 100644
--- a/include/configs/gose.h
+++ b/include/configs/gose.h
@@ -20,7 +20,6 @@
#define RCAR_GEN2_UBOOT_SDRAM_SIZE (512u * 1024 * 1024)
/* SH Ether */
-#define CFG_SH_ETHER_PHY_ADDR 0x1
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
/* Board Clock */
diff --git a/include/configs/grpeach.h b/include/configs/grpeach.h
index 9a7eef57c87..9c47fbf1c90 100644
--- a/include/configs/grpeach.h
+++ b/include/configs/grpeach.h
@@ -17,7 +17,6 @@
#define CFG_SYS_SDRAM_SIZE (10 * 1024 * 1024)
/* Network interface */
-#define CFG_SH_ETHER_PHY_ADDR 0
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
#endif /* __GRPEACH_H */
diff --git a/include/configs/koelsch.h b/include/configs/koelsch.h
index 13d2127ac13..cc6266d4d6c 100644
--- a/include/configs/koelsch.h
+++ b/include/configs/koelsch.h
@@ -20,7 +20,6 @@
#define RCAR_GEN2_UBOOT_SDRAM_SIZE (512 * 1024 * 1024)
/* SH Ether */
-#define CFG_SH_ETHER_PHY_ADDR 0x1
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
/* Board Clock */
diff --git a/include/configs/lager.h b/include/configs/lager.h
index d76f003e391..f59f44f1862 100644
--- a/include/configs/lager.h
+++ b/include/configs/lager.h
@@ -21,7 +21,6 @@
#define RCAR_GEN2_UBOOT_SDRAM_SIZE (512 * 1024 * 1024)
/* SH Ether */
-#define CFG_SH_ETHER_PHY_ADDR 0x1
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
/* Board Clock */
diff --git a/include/configs/porter.h b/include/configs/porter.h
index eaf5d31c1d3..265a0d775a3 100644
--- a/include/configs/porter.h
+++ b/include/configs/porter.h
@@ -22,7 +22,6 @@
#define RCAR_GEN2_UBOOT_SDRAM_SIZE (1024u * 1024 * 1024)
/* SH Ether */
-#define CFG_SH_ETHER_PHY_ADDR 0x1
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
/* Board Clock */
diff --git a/include/configs/silk.h b/include/configs/silk.h
index 4ef70281dda..459b9b86797 100644
--- a/include/configs/silk.h
+++ b/include/configs/silk.h
@@ -22,7 +22,6 @@
#define RCAR_GEN2_UBOOT_SDRAM_SIZE (512 * 1024 * 1024)
/* SH Ether */
-#define CFG_SH_ETHER_PHY_ADDR 0x1
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
/* Board Clock */
diff --git a/include/configs/stout.h b/include/configs/stout.h
index cb544de243e..d1accb90d9f 100644
--- a/include/configs/stout.h
+++ b/include/configs/stout.h
@@ -26,7 +26,6 @@
#define CFG_SCIF_A
/* SH Ether */
-#define CFG_SH_ETHER_PHY_ADDR 0x1
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
/* Board Clock */
diff --git a/include/configs/v3hsk.h b/include/configs/v3hsk.h
index a8d1641b36e..c5685b4c6c1 100644
--- a/include/configs/v3hsk.h
+++ b/include/configs/v3hsk.h
@@ -15,7 +15,6 @@
/* Environment compatibility */
/* SH Ether */
-#define CFG_SH_ETHER_PHY_ADDR 0x0
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RGMII_ID
/* Board Clock */