diff mbox series

arm: marvell: Dreamplug: fix typo in eth1 name

Message ID 20210906232835.25889-1-mibodhi@gmail.com
State Accepted
Commit 47d893138603ef7facf6e6b91128927b8c5a839b
Delegated to: Stefan Roese
Headers show
Series arm: marvell: Dreamplug: fix typo in eth1 name | expand

Commit Message

Tony Dinh Sept. 6, 2021, 11:28 p.m. UTC
Ethernet 1 should be ethernet-controller@76000.

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
---

 board/Marvell/dreamplug/dreamplug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefan Roese Sept. 7, 2021, 5:50 a.m. UTC | #1
On 07.09.21 01:28, Tony Dinh wrote:
> Ethernet 1 should be ethernet-controller@76000.
> 
> Signed-off-by: Tony Dinh <mibodhi@gmail.com>

Reviewed-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan

> ---
> 
>   board/Marvell/dreamplug/dreamplug.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/board/Marvell/dreamplug/dreamplug.c b/board/Marvell/dreamplug/dreamplug.c
> index d5b6b22ddf..7ba14021b2 100644
> --- a/board/Marvell/dreamplug/dreamplug.c
> +++ b/board/Marvell/dreamplug/dreamplug.c
> @@ -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
diff mbox series

Patch

diff --git a/board/Marvell/dreamplug/dreamplug.c b/board/Marvell/dreamplug/dreamplug.c
index d5b6b22ddf..7ba14021b2 100644
--- a/board/Marvell/dreamplug/dreamplug.c
+++ b/board/Marvell/dreamplug/dreamplug.c
@@ -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);