run_command_list

The interface has the following parameters.
  • Synopsis:
    int run_command_list(const char *cmd, int len, int flag)
  • Description: The interface is used to execute the U-Boot command line.
  • Parameter:
    • cmd: The pointer to the command.
    • len: The length of the command line. To load the length automatically, set this value to “-1”.
    • flag: Not used.
  • Return:
    • Success: 0.
    • Failure: Any value other than 0.