mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 12:44:23 +08:00
Fix remaining CFG_CMD_ define, ifdef and comments
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
5d1d00fb36
commit
936897d4d1
@ -321,7 +321,7 @@ nand_init (void)
|
||||
printf ("%4lu MB\n", totlen >>20);
|
||||
}
|
||||
|
||||
#endif /* CFG_CMD_NAND */
|
||||
#endif /* CONFIG_CMD_NAND */
|
||||
|
||||
#if defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT)
|
||||
/*
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include <lmb.h>
|
||||
#include <asm/byteorder.h>
|
||||
|
||||
#if (CONFIG_COMMANDS & CFG_CMD_USB)
|
||||
#if (CONFIG_CMD_USB)
|
||||
#include <usb.h>
|
||||
#endif
|
||||
|
||||
@ -217,7 +217,7 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||
*/
|
||||
iflag = disable_interrupts();
|
||||
|
||||
#if (CONFIG_COMMANDS & CFG_CMD_USB)
|
||||
#if (CONFIG_CMD_USB)
|
||||
/*
|
||||
* turn off USB to prevent the host controller from writing to the
|
||||
* SDRAM while Linux is booting. This could happen (at least for OHCI
|
||||
|
@ -40,7 +40,7 @@
|
||||
#define CONFIG_MISC_INIT_R 1
|
||||
|
||||
#define CFG_CACHELINE_SIZE 32
|
||||
#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
|
||||
#if (CONFIG_CMD_KGDB)
|
||||
#define CFG_CACHELINE_SHIFT 5
|
||||
#endif
|
||||
|
||||
@ -268,7 +268,7 @@
|
||||
#define CFG_PROMPT_HUSH_PS2 "> "
|
||||
#undef CFG_LONGHELP
|
||||
#define CFG_PROMPT "=> "
|
||||
#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
|
||||
#if (CONFIG_CMD_KGDB)
|
||||
#define CFG_CBSIZE 1024
|
||||
#else
|
||||
#define CFG_CBSIZE 256
|
||||
|
@ -105,7 +105,7 @@
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"unlock=yes\0"
|
||||
|
||||
#define CFG_CMD_JFFS2
|
||||
#define CONFIG_CMD_JFFS2
|
||||
#undef CONFIG_CMD_EEPROM
|
||||
#define CONFIG_CMD_NET
|
||||
#define CONFIG_CMD_RUN
|
||||
|
@ -451,7 +451,7 @@ void board_init_f(ulong bootflag)
|
||||
if ((s = getenv("bootfile")) != NULL) {
|
||||
copy_filename(BootFile, s, sizeof(BootFile));
|
||||
}
|
||||
#endif /* CFG_CMD_NET */
|
||||
#endif /* CONFIG_CMD_NET */
|
||||
|
||||
WATCHDOG_RESET();
|
||||
|
||||
@ -483,7 +483,7 @@ void board_init_f(ulong bootflag)
|
||||
WATCHDOG_RESET();
|
||||
puts("IDE: ");
|
||||
ide_init();
|
||||
#endif /* CFG_CMD_IDE */
|
||||
#endif /* CONFIG_CMD_IDE */
|
||||
|
||||
#ifdef CONFIG_LAST_STAGE_INIT
|
||||
WATCHDOG_RESET();
|
||||
|
Loading…
Reference in New Issue
Block a user