Fix remaining CFG_CMD_ define, ifdef and comments
PATCH 1/1 Fix remaining CFG_CMD_ define, ifdef and comments
Signed-off-by Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
--- board/ids8247/ids8247.c | 2 +- common/cmd_bootm.c | 4 ++-- include/configs/MVBC_P.h | 4 ++-- include/configs/m501sk.h | 2 +- lib_sparc/board.c | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-)
board/ids8247/ids8247.c +1 -1
@@ -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 )/*
common/cmd_bootm.c +2 -2
@@ -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
include/configs/MVBC_P.h +2 -2
@@ -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
include/configs/m501sk.h +1 -1
@@ -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
lib_sparc/board.c +2 -2
@@ -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 ();
Signature · 1 line
1.5.6
Wolfgang Denk
AppliedPATCH 1/1 Fix remaining CFG_CMD_ define, ifdef and comments
Quoted 8 lines · In message <[email protected]> you wrote:
Signed-off-by Jean-Christophe PLAGNIOL-VILLARD <[email protected]>--- board/ids8247/ids8247.c | 2 +- common/cmd_bootm.c | 4 ++-- include/configs/MVBC_P.h | 4 ++-- include/configs/m501sk.h | 2 +- lib_sparc/board.c | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 7 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If a packet hits a pocket on a socket on a port, And the bus is interrupted as a very last resort, And the address of the memory makes your floppy disk abort, Then the socket packet pocket has an error to report! - Ken Burchill?