public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/5] armv8/ls1043a: remove print info
@ 2015-12-07  8:58 Mingkai Hu
  2015-12-07  8:58 ` [U-Boot] [PATCH 2/5] armv8/fsl_lsch2: fix DCSR_DCFG address Mingkai Hu
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Mingkai Hu @ 2015-12-07  8:58 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com>
---
 drivers/net/fm/ls1043.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/drivers/net/fm/ls1043.c b/drivers/net/fm/ls1043.c
index cf2cc95..93ba318 100644
--- a/drivers/net/fm/ls1043.c
+++ b/drivers/net/fm/ls1043.c
@@ -54,11 +54,8 @@ phy_interface_t fman_port_enet_if(enum fm_port port)
 	struct ccsr_gur *gur = (void *)(CONFIG_SYS_FSL_GUTS_ADDR);
 	u32 rcwsr13 = in_be32(&gur->rcwsr[13]);
 
-	if (is_device_disabled(port)) {
-		printf("%s:%d: port(%d) is disabled\n", __func__,
-		       __LINE__, port);
+	if (is_device_disabled(port))
 		return PHY_INTERFACE_MODE_NONE;
-	}
 
 	if ((port == FM1_10GEC1) && (is_serdes_configured(XFI_FM1_MAC9)))
 		return PHY_INTERFACE_MODE_XGMII;
@@ -69,15 +66,11 @@ phy_interface_t fman_port_enet_if(enum fm_port port)
 	if (port == FM1_DTSEC3)
 		if ((rcwsr13 & FSL_CHASSIS2_RCWSR13_EC1) ==
 				FSL_CHASSIS2_RCWSR13_EC1_DTSEC3_RGMII) {
-			printf("%s:%d: port(FM1_DTSEC3) is OK\n",
-			       __func__, __LINE__);
 			return PHY_INTERFACE_MODE_RGMII;
 		}
 	if (port == FM1_DTSEC4)
 		if ((rcwsr13 & FSL_CHASSIS2_RCWSR13_EC2) ==
 				FSL_CHASSIS2_RCWSR13_EC2_DTSEC4_RGMII) {
-			printf("%s:%d: port(FM1_DTSEC4) is OK\n",
-			       __func__, __LINE__);
 			return PHY_INTERFACE_MODE_RGMII;
 		}
 
-- 
2.1.0.27.g96db324

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-12-16  9:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-07  8:58 [U-Boot] [PATCH 1/5] armv8/ls1043a: remove print info Mingkai Hu
2015-12-07  8:58 ` [U-Boot] [PATCH 2/5] armv8/fsl_lsch2: fix DCSR_DCFG address Mingkai Hu
2015-12-16  9:02   ` York Sun
2015-12-07  8:58 ` [U-Boot] [PATCH 3/5] armv8/ls1043a: Implement workaround for PEX erratum A009929 Mingkai Hu
2015-12-16  9:03   ` York Sun
2015-12-07  8:58 ` [U-Boot] [PATCH 4/5] armv8/ls1043ardb: change core frequency to 1600MHz Mingkai Hu
2015-12-16  9:03   ` York Sun
2015-12-07  8:58 ` [U-Boot] [PATCH 5/5] armv8/ls1043aqds: " Mingkai Hu
2015-12-16  9:04   ` York Sun
2015-12-16  9:02 ` [U-Boot] [PATCH 1/5] armv8/ls1043a: remove print info York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox