summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorMingkai Hu <Mingkai.hu@freescale.com>2015-12-07 16:58:52 +0800
committerYork Sun <yorksun@freescale.com>2015-12-17 08:52:18 +0800
commit862d9296dd11ec2901dbb1b290262eaed4d85690 (patch)
tree9272c912244176591eb52f8dd6c6c08e86b26d10 /drivers/net
parent509356224b25f5cf19be36176878a659c050fcb8 (diff)
downloadu-boot-imx-862d9296dd11ec2901dbb1b290262eaed4d85690.zip
u-boot-imx-862d9296dd11ec2901dbb1b290262eaed4d85690.tar.gz
u-boot-imx-862d9296dd11ec2901dbb1b290262eaed4d85690.tar.bz2
armv8/ls1043a: remove print info
Remove verbose message for FMan port. Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com> [York Sun: Added commit message] Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/fm/ls1043.c9
1 files changed, 1 insertions, 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;
}