Skip to contentSkip to conversation

arm: marvell: Dreamplug: fix typo in eth1 name

PATCH In review Tony Dinh 2 participants 2 messages Sep 6, 2021 – Sep 7, 2021

lore
Share & tools
lore

Tony Dinh

author
#0 lore raw

PATCH 1/1 arm: marvell: Dreamplug: fix typo in eth1 name

Ethernet 1 should be ethernet-controller@76000.

---

 board/Marvell/dreamplug/dreamplug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/Marvell/dreamplug/dreamplug.c +1 -1
index d5b6b22ddf..7ba14021b2 100644
@@ -163,7 +163,7 @@ void reset_phy(void)
 	char *eth0_name = "ethernet-controller@72000";
 	char *eth0_path = "/ocp@f1000000/ethernet-controller@72000/ethernet0-port@0";
 	char *eth1_name = "ethernet-controller@76000";
-	char *eth1_path = "/ocp@f1000000/ethernet-controller@72000/ethernet1-port@0";
+	char *eth1_path = "/ocp@f1000000/ethernet-controller@76000/ethernet1-port@0";
 
 	/* configure and initialize both PHY's */
 	mv_phy_88e1116_init(eth0_name, eth0_path);
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Tony Dinh

Ethernet 1 should be ethernet-controller@76000.

Thanks,
Stefan

Quoted 11 lines

---

  board/Marvell/dreamplug/dreamplug.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
board/Marvell/dreamplug/dreamplug.c +0 -0
index d5b6b22ddf..7ba14021b2 100644

board/Marvell/dreamplug/dreamplug.c void reset_phy(void) · line 169

Quoted 8 lines
board/Marvell/dreamplug/dreamplug.c +1 -1
@@ -163,7 +163,7 @@ void reset_phy(void)
  	char *eth0_name = "ethernet-controller@72000";
  	char *eth0_path = "/ocp@f1000000/ethernet-controller@72000/ethernet0-port@0";
  	char *eth1_name = "ethernet-controller@76000";
-	char *eth1_path = "/ocp@f1000000/ethernet-controller@72000/ethernet1-port@0";
+	char *eth1_path = "/ocp@f1000000/ethernet-controller@76000/ethernet1-port@0";
 
  	/* configure and initialize both PHY's */
  	mv_phy_88e1116_init(eth0_name, eth0_path);

Viele Grüße,
Stefan

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]