]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/command.h
rename CFG_ macros to CONFIG_SYS
[karo-tx-uboot.git] / include / command.h
index 78feea5c71cc0020f5421dfd37cedba2db7b0d4b..a8a153cb0fca3b9bde3b503aef719388d335d0fb 100644 (file)
@@ -45,7 +45,7 @@ struct cmd_tbl_s {
                                        /* Implementation function      */
        int             (*cmd)(struct cmd_tbl_s *, int, int, char *[]);
        char            *usage;         /* Usage message        (short) */
-#ifdef CFG_LONGHELP
+#ifdef CONFIG_SYS_LONGHELP
        char            *help;          /* Help  message        (long)  */
 #endif
 #ifdef CONFIG_AUTO_COMPLETE
@@ -98,7 +98,7 @@ extern int cmd_get_data_size(char* arg, int default_size);
 
 #define Struct_Section  __attribute__ ((unused,section (".u_boot_cmd")))
 
-#ifdef  CFG_LONGHELP
+#ifdef  CONFIG_SYS_LONGHELP
 
 #define U_BOOT_CMD(name,maxargs,rep,cmd,usage,help) \
 cmd_tbl_t __u_boot_cmd_##name Struct_Section = {#name, maxargs, rep, cmd, usage, help}
@@ -114,6 +114,6 @@ cmd_tbl_t __u_boot_cmd_##name Struct_Section = {#name, maxargs, rep, cmd, usage}
 #define U_BOOT_CMD_MKENT(name,maxargs,rep,cmd,usage,help) \
 {#name, maxargs, rep, cmd, usage}
 
-#endif /* CFG_LONGHELP */
+#endif /* CONFIG_SYS_LONGHELP */
 
 #endif /* __COMMAND_H */