do_mmcinfo

The interface has the following parameters.
  • Synopsis:
    static int do_mmcinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
  • Description: The interface is used to run the mmcinfo command, and display the information of the current MMC device.
  • Parameter:
    • cmdtp: The command information for the mmcinfo command.
    • flag: The command flags.
    • argc: The number of arguments.
    • agrv: The list of arguments.
  • Return:
    • Success: 0.
    • Failure: 1.