imx: ventana: display neteowrk PHY
authorTim Harvey <tharvey@gateworks.com>
Fri, 11 Jun 2021 19:46:26 +0000 (12:46 -0700)
committerStefano Babic <sbabic@denx.de>
Sat, 10 Jul 2021 14:53:33 +0000 (16:53 +0200)
Add displaying the detected network PHY on boot.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/gw_ventana/gw_ventana.c

index 860342d..4536d55 100644 (file)
@@ -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 */