summaryrefslogtreecommitdiffstats
path: root/drivers/net/fsl-fman.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-01-10 12:08:28 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-01-13 12:22:02 +0100
commit99a1a189f4fa6ac0658d56bd803580e6a2be9cfe (patch)
tree1ccd24f0e014ec2405f59925cf7b1f612b5e60e6 /drivers/net/fsl-fman.c
parent1b23cd803a69cc6045e61f60400db4bd28507a3e (diff)
downloadbarebox-99a1a189f4fa6ac0658d56bd803580e6a2be9cfe.tar.gz
barebox-99a1a189f4fa6ac0658d56bd803580e6a2be9cfe.tar.xz
net: fsl-fman: Do not put hardware in reset before Linux start
Linux depends on the icid values configured in the DPAA. Do not put the hardware into reset in order to preserve the register values. Without this, the IOMMU doesn't work properly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/net/fsl-fman.c')
-rw-r--r--drivers/net/fsl-fman.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/fsl-fman.c b/drivers/net/fsl-fman.c
index 1aae58e494..6d54fcc7c9 100644
--- a/drivers/net/fsl-fman.c
+++ b/drivers/net/fsl-fman.c
@@ -1322,13 +1322,6 @@ static int fsl_fman_probe(struct device_d *dev)
return 0;
}
-static void fsl_fman_remove(struct device_d *dev)
-{
- struct ccsr_fman *reg = dev->priv;
-
- setbits_be32(&reg->fm_fpm.fmrstc, FMFP_RSTC_RFM);
-}
-
static struct of_device_id fsl_fman_dt_ids[] = {
{
.compatible = "fsl,fman",
@@ -1339,7 +1332,6 @@ static struct of_device_id fsl_fman_dt_ids[] = {
static struct driver_d fman_driver = {
.name = "fsl-fman",
.probe = fsl_fman_probe,
- .remove = fsl_fman_remove,
.of_compatible = DRV_OF_COMPAT(fsl_fman_dt_ids),
};
device_platform_driver(fman_driver);