summaryrefslogtreecommitdiff
path: root/drivers/net/fsl-mc/dpio
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2023-05-31 19:04:29 +0300
committerPeng Fan <peng.fan@nxp.com>2023-06-15 17:58:53 +0800
commitf21d326be420e2710673974d85debd2c345cc0c7 (patch)
tree1f57bb8d6676d64077565a1be53033c9dbadd5a9 /drivers/net/fsl-mc/dpio
parentc761028e34fe18e0cd63fd80d1317cf17c8895bf (diff)
net: fsl-mc: remove unused MC APIs
There are multiple MC APIs which were added years ago but they are not used at all in the u-boot source code. Remove all these APIs. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'drivers/net/fsl-mc/dpio')
-rw-r--r--drivers/net/fsl-mc/dpio/dpio.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/net/fsl-mc/dpio/dpio.c b/drivers/net/fsl-mc/dpio/dpio.c
index 8884455963d..30ecc9124b2 100644
--- a/drivers/net/fsl-mc/dpio/dpio.c
+++ b/drivers/net/fsl-mc/dpio/dpio.c
@@ -123,21 +123,6 @@ int dpio_disable(struct fsl_mc_io *mc_io,
return mc_send_command(mc_io, &cmd);
}
-int dpio_reset(struct fsl_mc_io *mc_io,
- uint32_t cmd_flags,
- uint16_t token)
-{
- struct mc_command cmd = { 0 };
-
- /* prepare command */
- cmd.header = mc_encode_cmd_header(DPIO_CMDID_RESET,
- cmd_flags,
- token);
-
- /* send command to mc*/
- return mc_send_command(mc_io, &cmd);
-}
-
int dpio_get_attributes(struct fsl_mc_io *mc_io,
uint32_t cmd_flags,
uint16_t token,