/* Return: return 0 on success and CMD_RET_USAGE incase of misuse and error  */
static int do_zynqmp(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
/* Return: return 0 on success and CMD_RET_USAGE incase of misuse and error  */
static int do_zynqmp(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
{
	cmd_tbl_t *c;
	if (argc < 2)
		return CMD_RET_USAGE;
	c = find_cmd_tbl(argv[1], &cmd_zynqmp_sub[0],
			 ARRAY_SIZE(cmd_zynqmp_sub));
	if (c)
		return c->cmd(c, flag, argc, argv);
	else
		return CMD_RET_USAGE;
}