Commit a8f46306 authored by Peng Fan's avatar Peng Fan Committed by Stefano Babic
Browse files

imx: cmd: use struct cmd_tbl



cmd_tbl_t is removed, need use struct cmd_tbl
Signed-off-by: Peng Fan's avatarPeng Fan <peng.fan@nxp.com>
parent 3f2b4d72
......@@ -29,7 +29,7 @@ DECLARE_GLOBAL_DATA_PTR;
* Returns zero on success, CMD_RET_USAGE in case of misuse and negative
* on error.
*/
static int do_mfgprot(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
static int do_mfgprot(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
u8 *m_ptr, *dgst_ptr, *c_ptr, *d_ptr, *dst_ptr;
char *pubk, *sign, *sel;
......
......@@ -15,7 +15,7 @@
#include <command.h>
#include "../drivers/crypto/fsl_caam_internal.h"
int do_priblob_write(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
int do_priblob_write(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[])
{
writel((readl(CAAM_SCFGR) & 0xFFFFFFFC) | 3, CAAM_SCFGR);
printf("New priblob setting = 0x%x\n", readl(CAAM_SCFGR) & 0x3);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment