mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-27 12:57:13 +00:00
fsl: Remove unnecessary debug printfs
These were left in accidentally, and are not really useful unless the code is as broken as it was when it was being developed. Signed-off-by: Andy Fleming <afleming@freescale.com>
This commit is contained in:
parent
0ee84b88b7
commit
48c2b7bb43
1 changed files with 0 additions and 3 deletions
|
@ -47,7 +47,6 @@ void fsl_sgmii_riser_fdt_fixup(void *fdt)
|
||||||
const char *model;
|
const char *model;
|
||||||
const char *path;
|
const char *path;
|
||||||
|
|
||||||
printf("Updating PHY address for %s\n", dev->name);
|
|
||||||
if (!strstr(dev->name, "eTSEC"))
|
if (!strstr(dev->name, "eTSEC"))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
@ -64,7 +63,6 @@ void fsl_sgmii_riser_fdt_fixup(void *fdt)
|
||||||
|
|
||||||
model = fdt_getprop(fdt, enet_node, "model", NULL);
|
model = fdt_getprop(fdt, enet_node, "model", NULL);
|
||||||
|
|
||||||
printf("%s's model is %s\n", enet, model);
|
|
||||||
/*
|
/*
|
||||||
* We only want to do this to eTSECs. On some platforms
|
* We only want to do this to eTSECs. On some platforms
|
||||||
* there are more than one type of gianfar-style ethernet
|
* there are more than one type of gianfar-style ethernet
|
||||||
|
@ -84,7 +82,6 @@ void fsl_sgmii_riser_fdt_fixup(void *fdt)
|
||||||
|
|
||||||
priv = dev->priv;
|
priv = dev->priv;
|
||||||
|
|
||||||
printf("Device flags are %x\n", priv->flags);
|
|
||||||
if (priv->flags & TSEC_SGMII)
|
if (priv->flags & TSEC_SGMII)
|
||||||
fdt_setprop_cell(fdt, phynode, "reg", priv->phyaddr);
|
fdt_setprop_cell(fdt, phynode, "reg", priv->phyaddr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue