]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - include/command.h
_USE_LABEL --> FF_USE_LABEL
[z180-stamp.git] / include / command.h
index 2ea7505039d261307066d2a9cb54b67750ff82aa..d7eccc932da18dbb624ce3186412f0729b627978 100644 (file)
@@ -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,