[PATCH v1 09/23] phy: marvell: enable comphy info prints for all devices

Stefan Roese sr at denx.de
Wed Mar 24 15:06:35 CET 2021


From: Igal Liberman <igall at marvell.com>

Signed-off-by: Igal Liberman <igall at marvell.com>
Signed-off-by: Stefan Roese <sr at denx.de>
---

 drivers/phy/marvell/comphy_core.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/phy/marvell/comphy_core.c b/drivers/phy/marvell/comphy_core.c
index b29decd82693..45dba738662c 100644
--- a/drivers/phy/marvell/comphy_core.c
+++ b/drivers/phy/marvell/comphy_core.c
@@ -186,8 +186,7 @@ static int comphy_probe(struct udevice *dev)
 	/* PHY power UP sequence */
 	chip_cfg->ptr_comphy_chip_init(chip_cfg, chip_cfg->comphy_map_data);
 	/* PHY print SerDes status */
-	if (of_machine_is_compatible("marvell,armada8040"))
-		printf("Comphy chip #%d:\n", chip_cfg->cp_index);
+	printf("Comphy chip #%d:\n", chip_cfg->cp_index);
 	comphy_print(chip_cfg, chip_cfg->comphy_map_data);
 
 	/*
-- 
2.31.0



More information about the U-Boot mailing list