X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/5caa8c2b8906f17ca97aad2be3d746c3b5fef8f3..dd2c2ec080fbb9b9d0d3145887d05347934dddba:/include/command.h diff --git a/include/command.h b/include/command.h index 2ea7505..d7eccc9 100644 --- a/include/command.h +++ b/include/command.h @@ -124,8 +124,6 @@ static inline int bootm_maybe_autostart(cmd_tbl_t *cmdtp UNUSED, const char *cmd extern int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc, char *const argv[]); -extern command_ret_t do_reset(cmd_tbl_t *cmdtp, uint_fast8_t flag, int argc, char * const argv[]); - /* * Command Flags: */ @@ -135,8 +133,10 @@ extern command_ret_t do_reset(cmd_tbl_t *cmdtp, uint_fast8_t flag, int argc, cha /* * Flags for command table: */ -#define CTBL_REPEAT 0x01 /* command is repeatable */ +#define CTBL_RPT 0x01 /* command is repeatable */ #define CTBL_SUBCMD 0x02 /* command has subcommands */ +#define CTBL_SUBCMDAUTO 0x04 /* execute subcommands whithout prefix */ +#define CTBL_DBG 0x08 /* command is only for debugging */ #ifdef CONFIG_AUTO_COMPLETE # define _CMD_COMPLETE(x) x,