include/configs: Use new CONFIG_CMD_* in various o* named board config files.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
This commit is contained in:
parent
929a2bfd14
commit
a5cb23092a
@ -37,11 +37,6 @@
|
|||||||
#define BOOTFLAG_COLD 0x01 /* Normal Power-On: Boot from FLASH */
|
#define BOOTFLAG_COLD 0x01 /* Normal Power-On: Boot from FLASH */
|
||||||
#define BOOTFLAG_WARM 0x02 /* Software reboot */
|
#define BOOTFLAG_WARM 0x02 /* Software reboot */
|
||||||
|
|
||||||
#define CFG_CACHELINE_SIZE 32 /* For MPC5xxx CPUs */
|
|
||||||
#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
|
|
||||||
# define CFG_CACHELINE_SHIFT 5 /* log base 2 of the above value */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Serial console configuration
|
* Serial console configuration
|
||||||
*/
|
*/
|
||||||
@ -82,20 +77,20 @@
|
|||||||
|
|
||||||
#define CONFIG_TIMESTAMP /* Print image info with timestamp */
|
#define CONFIG_TIMESTAMP /* Print image info with timestamp */
|
||||||
|
|
||||||
/*
|
|
||||||
* Supported commands
|
|
||||||
*/
|
|
||||||
#define CONFIG_COMMANDS (CONFIG_CMD_DFL | \
|
|
||||||
CFG_CMD_EEPROM | \
|
|
||||||
CFG_CMD_FAT | \
|
|
||||||
CFG_CMD_I2C | \
|
|
||||||
CFG_CMD_NFS | \
|
|
||||||
CFG_CMD_MII | \
|
|
||||||
CFG_CMD_PING | \
|
|
||||||
ADD_PCI_CMD )
|
|
||||||
|
|
||||||
/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
|
/*
|
||||||
#include <cmd_confdefs.h>
|
* Command line configuration.
|
||||||
|
*/
|
||||||
|
#include <config_cmd_default.h>
|
||||||
|
|
||||||
|
#define CONFIG_CMD_EEPROM
|
||||||
|
#define CONFIG_CMD_FAT
|
||||||
|
#define CONFIG_CMD_I2C
|
||||||
|
#define CONFIG_CMD_NFS
|
||||||
|
#define CONFIG_CMD_MII
|
||||||
|
#define CONFIG_CMD_PING
|
||||||
|
#define CONFIG_PCI_CMD
|
||||||
|
|
||||||
|
|
||||||
#if (TEXT_BASE == 0xFF000000) /* Boot low with 16 MB Flash */
|
#if (TEXT_BASE == 0xFF000000) /* Boot low with 16 MB Flash */
|
||||||
# define CFG_LOWBOOT 1
|
# define CFG_LOWBOOT 1
|
||||||
@ -246,7 +241,7 @@
|
|||||||
#define CFG_LONGHELP /* undef to save memory */
|
#define CFG_LONGHELP /* undef to save memory */
|
||||||
#define CFG_PROMPT "=> " /* Monitor Command Prompt */
|
#define CFG_PROMPT "=> " /* Monitor Command Prompt */
|
||||||
|
|
||||||
#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
|
#if defined(CONFIG_CMD_KGDB)
|
||||||
#define CFG_CBSIZE 1024 /* Console I/O Buffer Size */
|
#define CFG_CBSIZE 1024 /* Console I/O Buffer Size */
|
||||||
#else
|
#else
|
||||||
#define CFG_CBSIZE 256 /* Console I/O Buffer Size */
|
#define CFG_CBSIZE 256 /* Console I/O Buffer Size */
|
||||||
@ -262,6 +257,11 @@
|
|||||||
|
|
||||||
#define CFG_HZ 1000 /* decrementer freq: 1 ms ticks */
|
#define CFG_HZ 1000 /* decrementer freq: 1 ms ticks */
|
||||||
|
|
||||||
|
#define CFG_CACHELINE_SIZE 32 /* For MPC5xxx CPUs */
|
||||||
|
#if defined(CONFIG_CMD_KGDB)
|
||||||
|
# define CFG_CACHELINE_SHIFT 5 /* log base 2 of the above value */
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Various low-level settings
|
* Various low-level settings
|
||||||
*/
|
*/
|
||||||
|
@ -232,26 +232,29 @@
|
|||||||
|
|
||||||
#define CONFIG_NETCONSOLE /* include NetConsole support */
|
#define CONFIG_NETCONSOLE /* include NetConsole support */
|
||||||
|
|
||||||
#define CONFIG_COMMANDS (CONFIG_CMD_DFL | \
|
|
||||||
CFG_CMD_ASKENV | \
|
|
||||||
CFG_CMD_DATE | \
|
|
||||||
CFG_CMD_DHCP | \
|
|
||||||
CFG_CMD_DIAG | \
|
|
||||||
CFG_CMD_ELF | \
|
|
||||||
CFG_CMD_EEPROM | \
|
|
||||||
CFG_CMD_I2C | \
|
|
||||||
CFG_CMD_IRQ | \
|
|
||||||
CFG_CMD_MII | \
|
|
||||||
CFG_CMD_NET | \
|
|
||||||
CFG_CMD_NFS | \
|
|
||||||
CFG_CMD_PCI | \
|
|
||||||
CFG_CMD_PING | \
|
|
||||||
CFG_CMD_REGINFO | \
|
|
||||||
CFG_CMD_SDRAM | \
|
|
||||||
CFG_CMD_SNTP )
|
|
||||||
|
|
||||||
/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
|
/*
|
||||||
#include <cmd_confdefs.h>
|
* Command line configuration.
|
||||||
|
*/
|
||||||
|
#include <config_cmd_default.h>
|
||||||
|
|
||||||
|
#define CONFIG_CMD_ASKENV
|
||||||
|
#define CONFIG_CMD_DATE
|
||||||
|
#define CONFIG_CMD_DHCP
|
||||||
|
#define CONFIG_CMD_DIAG
|
||||||
|
#define CONFIG_CMD_ELF
|
||||||
|
#define CONFIG_CMD_EEPROM
|
||||||
|
#define CONFIG_CMD_I2C
|
||||||
|
#define CONFIG_CMD_IRQ
|
||||||
|
#define CONFIG_CMD_MII
|
||||||
|
#define CONFIG_CMD_NET
|
||||||
|
#define CONFIG_CMD_NFS
|
||||||
|
#define CONFIG_CMD_PCI
|
||||||
|
#define CONFIG_CMD_PING
|
||||||
|
#define CONFIG_CMD_REGINFO
|
||||||
|
#define CONFIG_CMD_SDRAM
|
||||||
|
#define CONFIG_CMD_SNTP
|
||||||
|
|
||||||
|
|
||||||
#undef CONFIG_WATCHDOG /* watchdog disabled */
|
#undef CONFIG_WATCHDOG /* watchdog disabled */
|
||||||
|
|
||||||
@ -260,7 +263,7 @@
|
|||||||
*/
|
*/
|
||||||
#define CFG_LONGHELP /* undef to save memory */
|
#define CFG_LONGHELP /* undef to save memory */
|
||||||
#define CFG_PROMPT "=> " /* Monitor Command Prompt */
|
#define CFG_PROMPT "=> " /* Monitor Command Prompt */
|
||||||
#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
|
#if defined(CONFIG_CMD_KGDB)
|
||||||
#define CFG_CBSIZE 1024 /* Console I/O Buffer Size */
|
#define CFG_CBSIZE 1024 /* Console I/O Buffer Size */
|
||||||
#else
|
#else
|
||||||
#define CFG_CBSIZE 256 /* Console I/O Buffer Size */
|
#define CFG_CBSIZE 256 /* Console I/O Buffer Size */
|
||||||
@ -310,7 +313,7 @@
|
|||||||
*/
|
*/
|
||||||
#define CFG_DCACHE_SIZE 32768 /* For AMCC 440 CPUs */
|
#define CFG_DCACHE_SIZE 32768 /* For AMCC 440 CPUs */
|
||||||
#define CFG_CACHELINE_SIZE 32 /* ... */
|
#define CFG_CACHELINE_SIZE 32 /* ... */
|
||||||
#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
|
#if defined(CONFIG_CMD_KGDB)
|
||||||
#define CFG_CACHELINE_SHIFT 5 /* log base 2 of the above value */
|
#define CFG_CACHELINE_SHIFT 5 /* log base 2 of the above value */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -322,7 +325,7 @@
|
|||||||
#define BOOTFLAG_COLD 0x01 /* Normal Power-On: Boot from FLASH */
|
#define BOOTFLAG_COLD 0x01 /* Normal Power-On: Boot from FLASH */
|
||||||
#define BOOTFLAG_WARM 0x02 /* Software reboot */
|
#define BOOTFLAG_WARM 0x02 /* Software reboot */
|
||||||
|
|
||||||
#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
|
#if defined(CONFIG_CMD_KGDB)
|
||||||
#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */
|
#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */
|
||||||
#define CONFIG_KGDB_SER_INDEX 2 /* which serial port to use */
|
#define CONFIG_KGDB_SER_INDEX 2 /* which serial port to use */
|
||||||
#endif
|
#endif
|
||||||
|
@ -86,11 +86,19 @@
|
|||||||
#define CONFIG_BAUDRATE 115200
|
#define CONFIG_BAUDRATE 115200
|
||||||
#define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
|
#define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
|
||||||
|
|
||||||
#define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_DHCP)
|
#define CONFIG_COMMANDS (CONFIG_CMD_DFL
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Command line configuration.
|
||||||
|
*/
|
||||||
|
#include <config_cmd_default.h>
|
||||||
|
|
||||||
|
#define CONFIG_CMD_DHCP
|
||||||
|
|
||||||
|
|
||||||
#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
|
#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
|
||||||
|
|
||||||
/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
|
|
||||||
#include <cmd_confdefs.h>
|
|
||||||
#include <configs/omap1510.h>
|
#include <configs/omap1510.h>
|
||||||
|
|
||||||
#define CONFIG_BOOTDELAY 3
|
#define CONFIG_BOOTDELAY 3
|
||||||
@ -98,7 +106,7 @@
|
|||||||
#define CONFIG_BOOTCOMMAND "bootp;tftp;bootm"
|
#define CONFIG_BOOTCOMMAND "bootp;tftp;bootm"
|
||||||
#define CFG_AUTOLOAD "n" /* No autoload */
|
#define CFG_AUTOLOAD "n" /* No autoload */
|
||||||
|
|
||||||
#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
|
#if defined(CONFIG_CMD_KGDB)
|
||||||
#define CONFIG_KGDB_BAUDRATE 115200 /* speed to run kgdb serial port */
|
#define CONFIG_KGDB_BAUDRATE 115200 /* speed to run kgdb serial port */
|
||||||
/* what's this ? it's not used anywhere */
|
/* what's this ? it's not used anywhere */
|
||||||
#define CONFIG_KGDB_SER_INDEX 1 /* which serial port to use */
|
#define CONFIG_KGDB_SER_INDEX 1 /* which serial port to use */
|
||||||
|
@ -81,11 +81,17 @@
|
|||||||
#define CONFIG_BAUDRATE 115200
|
#define CONFIG_BAUDRATE 115200
|
||||||
#define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
|
#define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
|
||||||
|
|
||||||
#define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_DHCP)
|
|
||||||
|
/*
|
||||||
|
* Command line configuration.
|
||||||
|
*/
|
||||||
|
#include <config_cmd_default.h>
|
||||||
|
|
||||||
|
#define CONFIG_CMD_DHCP
|
||||||
|
|
||||||
|
|
||||||
#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
|
#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
|
||||||
|
|
||||||
/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
|
|
||||||
#include <cmd_confdefs.h>
|
|
||||||
#include <configs/omap1510.h>
|
#include <configs/omap1510.h>
|
||||||
|
|
||||||
#define CONFIG_BOOTDELAY 3
|
#define CONFIG_BOOTDELAY 3
|
||||||
@ -93,7 +99,7 @@
|
|||||||
#define CONFIG_BOOTCOMMAND "bootp;tftp;bootm"
|
#define CONFIG_BOOTCOMMAND "bootp;tftp;bootm"
|
||||||
#define CFG_AUTOLOAD "n" /* No autoload */
|
#define CFG_AUTOLOAD "n" /* No autoload */
|
||||||
|
|
||||||
#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
|
#if defined(CONFIG_CMD_KGDB)
|
||||||
#define CONFIG_KGDB_BAUDRATE 115200 /* speed to run kgdb serial port */
|
#define CONFIG_KGDB_BAUDRATE 115200 /* speed to run kgdb serial port */
|
||||||
#define CONFIG_KGDB_SER_INDEX 1 /* which serial port to use */
|
#define CONFIG_KGDB_SER_INDEX 1 /* which serial port to use */
|
||||||
#endif
|
#endif
|
||||||
|
@ -82,11 +82,17 @@
|
|||||||
#define CONFIG_BAUDRATE 115200
|
#define CONFIG_BAUDRATE 115200
|
||||||
#define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
|
#define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
|
||||||
|
|
||||||
#define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_DHCP)
|
|
||||||
|
/*
|
||||||
|
* Command line configuration.
|
||||||
|
*/
|
||||||
|
#include <config_cmd_default.h>
|
||||||
|
|
||||||
|
#define CONFIG_CMD_DHCP
|
||||||
|
|
||||||
|
|
||||||
#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
|
#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
|
||||||
|
|
||||||
/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
|
|
||||||
#include <cmd_confdefs.h>
|
|
||||||
#include <configs/omap1510.h>
|
#include <configs/omap1510.h>
|
||||||
|
|
||||||
#define CONFIG_BOOTDELAY 3
|
#define CONFIG_BOOTDELAY 3
|
||||||
@ -98,7 +104,7 @@
|
|||||||
#define CONFIG_SERVERIP 156.117.97.139 /* current IP of my dev pc */
|
#define CONFIG_SERVERIP 156.117.97.139 /* current IP of my dev pc */
|
||||||
#define CONFIG_BOOTFILE "uImage" /* file to load */
|
#define CONFIG_BOOTFILE "uImage" /* file to load */
|
||||||
|
|
||||||
#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
|
#if defined(CONFIG_CMD_KGDB)
|
||||||
#define CONFIG_KGDB_BAUDRATE 115200 /* speed to run kgdb serial port */
|
#define CONFIG_KGDB_BAUDRATE 115200 /* speed to run kgdb serial port */
|
||||||
#define CONFIG_KGDB_SER_INDEX 1 /* which serial port to use */
|
#define CONFIG_KGDB_SER_INDEX 1 /* which serial port to use */
|
||||||
#endif
|
#endif
|
||||||
|
@ -119,15 +119,27 @@
|
|||||||
#define CONFIG_BAUDRATE 115200
|
#define CONFIG_BAUDRATE 115200
|
||||||
#define CFG_BAUDRATE_TABLE {9600, 19200, 38400, 57600, 115200}
|
#define CFG_BAUDRATE_TABLE {9600, 19200, 38400, 57600, 115200}
|
||||||
|
|
||||||
#ifdef CFG_NAND_BOOT
|
|
||||||
#define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_DHCP | CFG_CMD_I2C | CFG_CMD_NAND | CFG_CMD_JFFS2)
|
|
||||||
#else
|
|
||||||
#define CONFIG_COMMANDS ((CONFIG_CMD_DFL | CFG_CMD_DHCP | CFG_CMD_I2C | CFG_CMD_JFFS2) & ~CFG_CMD_AUTOSCRIPT)
|
|
||||||
#endif
|
|
||||||
#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
|
|
||||||
|
|
||||||
/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
|
/*
|
||||||
#include <cmd_confdefs.h>
|
* Command line configuration.
|
||||||
|
*/
|
||||||
|
#include <config_cmd_default.h>
|
||||||
|
|
||||||
|
#ifdef CFG_NAND_BOOT
|
||||||
|
#define CONFIG_CMD_DHCP
|
||||||
|
#define CONFIG_CMD_I2C
|
||||||
|
#define CONFIG_CMD_NAND
|
||||||
|
#define CONFIG_CMD_JFFS2
|
||||||
|
#else
|
||||||
|
#define CONFIG_CMD_DHCP
|
||||||
|
#define CONFIG_CMD_I2C
|
||||||
|
#define CONFIG_CMD_JFFS2
|
||||||
|
|
||||||
|
#undef CONFIG_CMD_AUTOSCRIPT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Board NAND Info.
|
* Board NAND Info.
|
||||||
|
@ -86,11 +86,17 @@
|
|||||||
#define CONFIG_BAUDRATE 115200
|
#define CONFIG_BAUDRATE 115200
|
||||||
#define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
|
#define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
|
||||||
|
|
||||||
#define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_DHCP)
|
|
||||||
|
/*
|
||||||
|
* Command line configuration.
|
||||||
|
*/
|
||||||
|
#include <config_cmd_default.h>
|
||||||
|
|
||||||
|
#define CONFIG_CMD_DHCP
|
||||||
|
|
||||||
|
|
||||||
#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
|
#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
|
||||||
|
|
||||||
/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
|
|
||||||
#include <cmd_confdefs.h>
|
|
||||||
#include <configs/omap1510.h>
|
#include <configs/omap1510.h>
|
||||||
|
|
||||||
#define CONFIG_BOOTDELAY 3
|
#define CONFIG_BOOTDELAY 3
|
||||||
@ -102,7 +108,7 @@
|
|||||||
#define CONFIG_SERVERIP 156.117.97.139 /* current IP of my dev pc */
|
#define CONFIG_SERVERIP 156.117.97.139 /* current IP of my dev pc */
|
||||||
#define CONFIG_BOOTFILE "uImage" /* file to load */
|
#define CONFIG_BOOTFILE "uImage" /* file to load */
|
||||||
|
|
||||||
#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
|
#if defined(CONFIG_CMD_KGDB)
|
||||||
#define CONFIG_KGDB_BAUDRATE 115200 /* speed to run kgdb serial port */
|
#define CONFIG_KGDB_BAUDRATE 115200 /* speed to run kgdb serial port */
|
||||||
#define CONFIG_KGDB_SER_INDEX 1 /* which serial port to use */
|
#define CONFIG_KGDB_SER_INDEX 1 /* which serial port to use */
|
||||||
#endif
|
#endif
|
||||||
|
@ -90,14 +90,17 @@
|
|||||||
#define CONFIG_BAUDRATE 115200
|
#define CONFIG_BAUDRATE 115200
|
||||||
#define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
|
#define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
|
||||||
|
|
||||||
#define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_DHCP)
|
|
||||||
#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This must be included AFTER the definition of CONFIG_COMMANDS (if any)
|
* Command line configuration.
|
||||||
*/
|
*/
|
||||||
|
#include <config_cmd_default.h>
|
||||||
|
|
||||||
|
#define CONFIG_CMD_DHCP
|
||||||
|
|
||||||
|
|
||||||
|
#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
|
||||||
|
|
||||||
#include <cmd_confdefs.h>
|
|
||||||
#include <configs/omap730.h>
|
#include <configs/omap730.h>
|
||||||
#include <configs/h2_p2_dbg_board.h>
|
#include <configs/h2_p2_dbg_board.h>
|
||||||
|
|
||||||
@ -112,7 +115,7 @@
|
|||||||
#define CONFIG_SERVERIP 192.150.0.100
|
#define CONFIG_SERVERIP 192.150.0.100
|
||||||
#define CONFIG_BOOTFILE "uImage" /* File to load */
|
#define CONFIG_BOOTFILE "uImage" /* File to load */
|
||||||
|
|
||||||
#if defined (CONFIG_COMMANDS) && defined (CFG_CMD_KGDB)
|
#if defined(CONFIG_CMD_KGDB)
|
||||||
#define CONFIG_KGDB_BAUDRATE 115200 /* Speed to run kgdb serial port */
|
#define CONFIG_KGDB_BAUDRATE 115200 /* Speed to run kgdb serial port */
|
||||||
#define CONFIG_KGDB_SER_INDEX 1 /* Which serial port to use */
|
#define CONFIG_KGDB_SER_INDEX 1 /* Which serial port to use */
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user