]> git.sur5r.net Git - u-boot/commitdiff
phy: marvell: print comphy status even when it's disconnected
authorStefan Roese <sr@denx.de>
Mon, 24 Apr 2017 15:45:30 +0000 (18:45 +0300)
committerStefan Roese <sr@denx.de>
Tue, 9 May 2017 11:38:18 +0000 (13:38 +0200)
since now the COMPHY can also be ignored, we must know the
state of the COMPHY. we cannot assume anymore that a missing
COMPHY is unconnected.

Signed-off-by: Yehuda Yitschak <yehuday@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Igal Liberman <igall@marvell.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/phy/marvell/comphy_core.c

index 84f4e5f1895e40d4f76f12f38416b6a28d3afedc..ab0b2a800cfca42c7ef419db64cfccda67bcb650 100644 (file)
@@ -90,9 +90,6 @@ void comphy_print(struct chip_serdes_phy_config *chip_cfg,
 
        for (lane = 0; lane < chip_cfg->comphy_lanes_count;
             lane++, comphy_map_data++) {
-               if (comphy_map_data->type == PHY_TYPE_UNCONNECTED)
-                       continue;
-
                if (comphy_map_data->speed == PHY_SPEED_INVALID) {
                        printf("Comphy-%d: %-13s\n", lane,
                               get_type_string(comphy_map_data->type));