mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
rename CFG_ macros to CONFIG_SYS
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
committed by
Wolfgang Denk
parent
71edc27181
commit
6d0f6bcf33
@@ -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 */
|
||||
|
Reference in New Issue
Block a user