aboutsummaryrefslogtreecommitdiff
path: root/include/fsl-mc/fsl_dpio.h
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 /include/fsl-mc/fsl_dpio.h
parentc761028e34fe18e0cd63fd80d1317cf17c8895bf (diff)
downloadu-boot-f21d326be420e2710673974d85debd2c345cc0c7.zip
u-boot-f21d326be420e2710673974d85debd2c345cc0c7.tar.gz
u-boot-f21d326be420e2710673974d85debd2c345cc0c7.tar.bz2
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 'include/fsl-mc/fsl_dpio.h')
-rw-r--r--include/fsl-mc/fsl_dpio.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/fsl-mc/fsl_dpio.h b/include/fsl-mc/fsl_dpio.h
index 7788e19..9d52a8e 100644
--- a/include/fsl-mc/fsl_dpio.h
+++ b/include/fsl-mc/fsl_dpio.h
@@ -21,7 +21,6 @@
#define DPIO_CMDID_ENABLE 0x0021
#define DPIO_CMDID_DISABLE 0x0031
#define DPIO_CMDID_GET_ATTR 0x0041
-#define DPIO_CMDID_RESET 0x0051
/* cmd, param, offset, width, type, arg_name */
#define DPIO_CMD_OPEN(cmd, dpio_id) \
@@ -178,18 +177,6 @@ int dpio_disable(struct fsl_mc_io *mc_io,
uint16_t token);
/**
- * dpio_reset() - Reset the DPIO, returns the object to initial state.
- * @mc_io: Pointer to MC portal's I/O object
- * @cmd_flags: Command flags; one or more of 'MC_CMD_FLAG_'
- * @token: Token of DPIO object
- *
- * Return: '0' on Success; Error code otherwise.
- */
-int dpio_reset(struct fsl_mc_io *mc_io,
- uint32_t cmd_flags,
- uint16_t token);
-
-/**
* struct dpio_attr - Structure representing DPIO attributes
* @id: DPIO object ID
* @version: DPIO version