From: Tim Harvey <tharvey@gateworks.com>
Date: Fri, 11 Jun 2021 19:46:26 +0000 (-0700)
Subject: imx: ventana: display neteowrk PHY
X-Git-Tag: v2025.01-rc5-pxa1908~1795^2~40
X-Git-Url: http://git.dujemihanovic.xyz/img/static/login.html?a=commitdiff_plain;h=e9284c03bc9f415fc5443abc76f9700f975ea5b6;p=u-boot.git

imx: ventana: display neteowrk PHY

Add displaying the detected network PHY on boot.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---

diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c
index 860342dd4a..4536d553ce 100644
--- a/board/gateworks/gw_ventana/gw_ventana.c
+++ b/board/gateworks/gw_ventana/gw_ventana.c
@@ -81,6 +81,7 @@ int board_phy_config(struct phy_device *phydev)
 
 	/* Marvel 88E1510 */
 	if (phydev->phy_id == 0x1410dd1) {
+		puts("MV88E1510");
 		/*
 		 * Page 3, Register 16: LED[2:0] Function Control Register
 		 * LED[0] (SPD:Amber) R16_3.3:0 to 0111: on-GbE link
@@ -96,6 +97,7 @@ int board_phy_config(struct phy_device *phydev)
 
 	/* TI DP83867 */
 	else if (phydev->phy_id == 0x2000a231) {
+		puts("TIDP83867 ");
 		/* LED configuration */
 		val = 0;
 		val |= 0x5 << 4; /* LED1(Amber;Speed)   : 1000BT link */