diff mbox

[U-Boot,v2,10/13] phy: marvell: print comphy status even when it's disconnected

Message ID 1493048733-22194-11-git-send-email-igall@marvell.com
State Awaiting Upstream
Delegated to: Stefan Roese
Headers show

Commit Message

igall@marvell.com April 24, 2017, 3:45 p.m. UTC
From: Stefan Roese <sr@denx.de>

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>
---
 drivers/phy/marvell/comphy_core.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Stefan Roese May 8, 2017, 9:52 a.m. UTC | #1
On 24.04.2017 17:45, igall@marvell.com wrote:
> From: Stefan Roese <sr@denx.de>
>
> 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>

Thanks,
Stefan
diff mbox

Patch

diff --git a/drivers/phy/marvell/comphy_core.c b/drivers/phy/marvell/comphy_core.c
index 23e8c4b..d7b02f4 100644
--- a/drivers/phy/marvell/comphy_core.c
+++ b/drivers/phy/marvell/comphy_core.c
@@ -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));