mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
include/configs: Use new CONFIG_CMD_* in various b* named board config files.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
This commit is contained in:
parent
0b361c9166
commit
ba2351f9d1
7 changed files with 159 additions and 152 deletions
|
@ -316,45 +316,46 @@
|
||||||
#define USB_2_0_DEVICE
|
#define USB_2_0_DEVICE
|
||||||
#endif /*CONFIG_440EP*/
|
#endif /*CONFIG_440EP*/
|
||||||
|
|
||||||
#ifdef CONFIG_BAMBOO_NAND
|
|
||||||
#define _CFG_CMD_NAND CFG_CMD_NAND
|
|
||||||
#else
|
|
||||||
#define _CFG_CMD_NAND 0
|
|
||||||
#endif /* CONFIG_BAMBOO_NAND */
|
|
||||||
|
|
||||||
#define CONFIG_COMMANDS (CONFIG_CMD_DFL | \
|
/*
|
||||||
CFG_CMD_ASKENV | \
|
* Command line configuration.
|
||||||
CFG_CMD_DATE | \
|
*/
|
||||||
CFG_CMD_DHCP | \
|
#include <config_cmd_default.h>
|
||||||
CFG_CMD_DIAG | \
|
|
||||||
CFG_CMD_ELF | \
|
|
||||||
CFG_CMD_EEPROM | \
|
#define CONFIG_CMD_ASKENV
|
||||||
CFG_CMD_I2C | \
|
#define CONFIG_CMD_DATE
|
||||||
CFG_CMD_IRQ | \
|
#define CONFIG_CMD_DHCP
|
||||||
CFG_CMD_MII | \
|
#define CONFIG_CMD_DIAG
|
||||||
CFG_CMD_NET | \
|
#define CONFIG_CMD_ELF
|
||||||
CFG_CMD_NFS | \
|
#define CONFIG_CMD_EEPROM
|
||||||
CFG_CMD_PCI | \
|
#define CONFIG_CMD_I2C
|
||||||
CFG_CMD_PING | \
|
#define CONFIG_CMD_IRQ
|
||||||
CFG_CMD_REGINFO | \
|
#define CONFIG_CMD_MII
|
||||||
CFG_CMD_SDRAM | \
|
#define CONFIG_CMD_NET
|
||||||
CFG_CMD_USB | \
|
#define CONFIG_CMD_NFS
|
||||||
CFG_CMD_FAT | \
|
#define CONFIG_CMD_PCI
|
||||||
CFG_CMD_EXT2 | \
|
#define CONFIG_CMD_PING
|
||||||
_CFG_CMD_NAND | \
|
#define CONFIG_CMD_REGINFO
|
||||||
CFG_CMD_SNTP )
|
#define CONFIG_CMD_SDRAM
|
||||||
|
#define CONFIG_CMD_USB
|
||||||
|
#define CONFIG_CMD_FAT
|
||||||
|
#define CONFIG_CMD_EXT2
|
||||||
|
#define CONFIG_CMD_SNTP
|
||||||
|
|
||||||
|
#ifdef CONFIG_BAMBOO_NAND
|
||||||
|
#define CONFIG_CMD_NAND
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define CONFIG_SUPPORT_VFAT
|
#define CONFIG_SUPPORT_VFAT
|
||||||
|
|
||||||
/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
|
|
||||||
#include <cmd_confdefs.h>
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Miscellaneous configurable options
|
* Miscellaneous configurable options
|
||||||
*/
|
*/
|
||||||
#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 */
|
||||||
|
@ -407,7 +408,7 @@
|
||||||
*/
|
*/
|
||||||
#define CFG_DCACHE_SIZE (32<<10) /* For AMCC 440 CPUs */
|
#define CFG_DCACHE_SIZE (32<<10) /* 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
|
||||||
|
|
||||||
|
@ -419,7 +420,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
|
||||||
|
|
|
@ -78,14 +78,16 @@
|
||||||
CONFIG_BOOTP_BOOTFILESIZE | \
|
CONFIG_BOOTP_BOOTFILESIZE | \
|
||||||
CONFIG_BOOTP_DNS)
|
CONFIG_BOOTP_DNS)
|
||||||
|
|
||||||
#define CONFIG_COMMANDS ( CONFIG_CMD_DFL | \
|
/*
|
||||||
CFG_CMD_ELF | \
|
* Command line configuration.
|
||||||
CFG_CMD_I2C | \
|
*/
|
||||||
CFG_CMD_EEPROM | \
|
#include <config_cmd_default.h>
|
||||||
CFG_CMD_PCI )
|
|
||||||
|
#define CONFIG_CMD_ELF
|
||||||
|
#define CONFIG_CMD_I2C
|
||||||
|
#define CONFIG_CMD_EEPROM
|
||||||
|
#define CONFIG_CMD_PCI
|
||||||
|
|
||||||
/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
|
|
||||||
#include <cmd_confdefs.h>
|
|
||||||
|
|
||||||
#define CONFIG_HUSH_PARSER 1 /* use "hush" command parser */
|
#define CONFIG_HUSH_PARSER 1 /* use "hush" command parser */
|
||||||
#define CONFIG_BOOTDELAY 1
|
#define CONFIG_BOOTDELAY 1
|
||||||
|
@ -340,7 +342,7 @@
|
||||||
* Cache Configuration
|
* Cache Configuration
|
||||||
*/
|
*/
|
||||||
#define CFG_CACHELINE_SIZE 32 /* For MPC8240 CPU */
|
#define CFG_CACHELINE_SIZE 32 /* For MPC8240 CPU */
|
||||||
#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
|
||||||
|
|
||||||
|
|
|
@ -97,19 +97,22 @@
|
||||||
#define CONFIG_LOADS_ECHO 1
|
#define CONFIG_LOADS_ECHO 1
|
||||||
|
|
||||||
|
|
||||||
#define CONFIG_COMMANDS (CONFIG_CMD_DFL | \
|
/*
|
||||||
CFG_CMD_PING | \
|
* Command line configuration.
|
||||||
CFG_CMD_ELF | \
|
*/
|
||||||
CFG_CMD_I2C | \
|
#include <config_cmd_default.h>
|
||||||
CFG_CMD_JFFS2 | \
|
|
||||||
CFG_CMD_DATE)
|
#define CONFIG_CMD_PING
|
||||||
|
#define CONFIG_CMD_ELF
|
||||||
|
#define CONFIG_CMD_I2C
|
||||||
|
#define CONFIG_CMD_JFFS2
|
||||||
|
#define CONFIG_CMD_DATE
|
||||||
|
|
||||||
|
|
||||||
#define CONFIG_BOOTARGS "root=/dev/mtdblock0 ip=192.168.0.15:192.168.0.2:192.168.0.1:255.255.255.0:ezkit:eth0:off console=ttyBF0,57600"
|
#define CONFIG_BOOTARGS "root=/dev/mtdblock0 ip=192.168.0.15:192.168.0.2:192.168.0.1:255.255.255.0:ezkit:eth0:off console=ttyBF0,57600"
|
||||||
|
|
||||||
/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
|
|
||||||
#include <cmd_confdefs.h>
|
|
||||||
|
|
||||||
#define CFG_PROMPT "ezkit> " /* Monitor Command Prompt */
|
#define CFG_PROMPT "ezkit> " /* 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 */
|
||||||
|
|
|
@ -240,23 +240,6 @@
|
||||||
|
|
||||||
#define CONFIG_BOOTARGS "root=/dev/mtdblock0 rw console=ttyBF0,57600"
|
#define CONFIG_BOOTARGS "root=/dev/mtdblock0 rw console=ttyBF0,57600"
|
||||||
|
|
||||||
#if (CONFIG_DRIVER_SMC91111)
|
|
||||||
#define CONFIG_COMMANDS1 (CONFIG_CMD_DFL | \
|
|
||||||
CFG_CMD_PING | \
|
|
||||||
CFG_CMD_ELF | \
|
|
||||||
CFG_CMD_CACHE | \
|
|
||||||
CFG_CMD_JFFS2 | \
|
|
||||||
CFG_CMD_EEPROM | \
|
|
||||||
CFG_CMD_DATE)
|
|
||||||
|
|
||||||
#else
|
|
||||||
#define CONFIG_COMMANDS1 (CONFIG_CMD_DFL | \
|
|
||||||
CFG_CMD_ELF | \
|
|
||||||
CFG_CMD_CACHE | \
|
|
||||||
CFG_CMD_JFFS2 | \
|
|
||||||
CFG_CMD_EEPROM | \
|
|
||||||
CFG_CMD_DATE)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if (BFIN_BOOT_MODE == BF533_BYPASS_BOOT)
|
#if (BFIN_BOOT_MODE == BF533_BYPASS_BOOT)
|
||||||
#if (CONFIG_DRIVER_SMC91111)
|
#if (CONFIG_DRIVER_SMC91111)
|
||||||
|
@ -305,20 +288,30 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (CONFIG_SOFT_I2C)
|
|
||||||
#define CONFIG_COMMANDS2 CFG_CMD_I2C
|
|
||||||
#else
|
|
||||||
#define CONFIG_COMMANDS2 0
|
|
||||||
#endif /* CONFIG_SOFT_I2C */
|
|
||||||
|
|
||||||
#if (BFIN_BOOT_MODE == BF533_BYPASS_BOOT)
|
/*
|
||||||
#define CONFIG_COMMANDS ( CONFIG_COMMANDS1 | CONFIG_COMMANDS2 | CFG_CMD_DHCP)
|
* Command line configuration.
|
||||||
#elif (BFIN_BOOT_MODE == BF533_SPI_BOOT)
|
*/
|
||||||
#define CONFIG_COMMANDS ( CONFIG_COMMANDS1 | CONFIG_COMMANDS2)
|
#include <config_cmd_default.h>
|
||||||
|
|
||||||
|
#define CONFIG_CMD_ELF
|
||||||
|
#define CONFIG_CMD_CACHE
|
||||||
|
#define CONFIG_CMD_JFFS2
|
||||||
|
#define CONFIG_CMD_EEPROM
|
||||||
|
#define CONFIG_CMD_DATE
|
||||||
|
|
||||||
|
#if (CONFIG_DRIVER_SMC91111)
|
||||||
|
#define CONFIG_CMD_PING
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if (CONFIG_SOFT_I2C)
|
||||||
|
#define CONFIG_CMD_I2C
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if (BFIN_BOOT_MODE == BF533_BYPASS_BOOT)
|
||||||
|
#define CONFIG_CMD_DHCP
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* This must be included AFTER the definition of CONFIG_COMMANDS (if any) */
|
|
||||||
#include <cmd_confdefs.h>
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Console settings
|
* Console settings
|
||||||
|
@ -345,7 +338,7 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#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 */
|
||||||
|
@ -395,7 +388,7 @@
|
||||||
/* Enabled below option for CF support */
|
/* Enabled below option for CF support */
|
||||||
/* #define CONFIG_STAMP_CF 1 */
|
/* #define CONFIG_STAMP_CF 1 */
|
||||||
|
|
||||||
#if defined(CONFIG_STAMP_CF) && (CONFIG_COMMANDS & CFG_CMD_IDE)
|
#if defined(CONFIG_STAMP_CF) && defined(CONFIG_CMD_IDE)
|
||||||
|
|
||||||
#define CONFIG_MISC_INIT_R 1
|
#define CONFIG_MISC_INIT_R 1
|
||||||
#define CONFIG_DOS_PARTITION 1
|
#define CONFIG_DOS_PARTITION 1
|
||||||
|
|
|
@ -159,51 +159,58 @@
|
||||||
|
|
||||||
#if defined(CONFIG_BFIN_CF_IDE) || defined(CONFIG_BFIN_HDD_IDE) || defined(CONFIG_BFIN_TRUE_IDE)
|
#if defined(CONFIG_BFIN_CF_IDE) || defined(CONFIG_BFIN_HDD_IDE) || defined(CONFIG_BFIN_TRUE_IDE)
|
||||||
# define CONFIG_BFIN_IDE 1
|
# define CONFIG_BFIN_IDE 1
|
||||||
# define ADD_IDE_CMD CFG_CMD_IDE
|
|
||||||
#else
|
|
||||||
# define ADD_IDE_CMD 0
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*#define CONFIG_BF537_NAND */ /* Add nand flash support */
|
/*#define CONFIG_BF537_NAND */ /* Add nand flash support */
|
||||||
|
|
||||||
#ifdef CONFIG_BF537_NAND
|
|
||||||
# define ADD_NAND_CMD CFG_CMD_NAND
|
|
||||||
#else
|
|
||||||
# define ADD_NAND_CMD 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CONFIG_NETCONSOLE 1
|
#define CONFIG_NETCONSOLE 1
|
||||||
#define CONFIG_NET_MULTI 1
|
#define CONFIG_NET_MULTI 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Command line configuration.
|
||||||
|
*/
|
||||||
|
#include <config_cmd_default.h>
|
||||||
|
|
||||||
|
#if (BFIN_BOOT_MODE == BF537_BYPASS_BOOT) || (BFIN_BOOT_MODE == BF537_SPI_MASTER_BOOT)
|
||||||
|
|
||||||
|
#define CONFIG_CMD_ELF
|
||||||
|
#define CONFIG_CMD_I2C
|
||||||
|
#define CONFIG_CMD_CACHE
|
||||||
|
#define CONFIG_CMD_JFFS2
|
||||||
|
#define CONFIG_CMD_EEPROM
|
||||||
|
#define CONFIG_CMD_DATE
|
||||||
|
|
||||||
#if (BFIN_CPU == ADSP_BF534)
|
#if (BFIN_CPU == ADSP_BF534)
|
||||||
#define CONFIG_BFIN_CMD (CONFIG_CMD_DFL & ~CFG_CMD_NET)
|
#undef CONFIG_CMD_NET
|
||||||
#else
|
#else
|
||||||
#define CONFIG_BFIN_CMD (CONFIG_CMD_DFL | CFG_CMD_PING)
|
#define CONFIG_CMD_PING
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (BFIN_BOOT_MODE == BF537_BYPASS_BOOT)
|
#if defined(CONFIG_BFIN_CF_IDE) \
|
||||||
#define CONFIG_COMMANDS (CONFIG_BFIN_CMD| \
|
|| defined(CONFIG_BFIN_HDD_IDE) \
|
||||||
CFG_CMD_ELF | \
|
|| defined(CONFIG_BFIN_TRUE_IDE)
|
||||||
CFG_CMD_I2C | \
|
#define CONFIG_CMD_IDE
|
||||||
CFG_CMD_CACHE | \
|
|
||||||
CFG_CMD_JFFS2 | \
|
|
||||||
CFG_CMD_EEPROM | \
|
|
||||||
CFG_CMD_DHCP | \
|
|
||||||
ADD_IDE_CMD | \
|
|
||||||
ADD_NAND_CMD | \
|
|
||||||
CFG_CMD_POST_DIAG | \
|
|
||||||
CFG_CMD_DATE)
|
|
||||||
#elif (BFIN_BOOT_MODE == BF537_SPI_MASTER_BOOT)
|
|
||||||
#define CONFIG_COMMANDS (CONFIG_BFIN_CMD| \
|
|
||||||
CFG_CMD_ELF | \
|
|
||||||
CFG_CMD_I2C | \
|
|
||||||
CFG_CMD_CACHE | \
|
|
||||||
CFG_CMD_JFFS2 | \
|
|
||||||
CFG_CMD_EEPROM | \
|
|
||||||
ADD_IDE_CMD | \
|
|
||||||
CFG_CMD_DATE)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if (BFIN_BOOT_MODE == BF537_BYPASS_BOOT)
|
||||||
|
|
||||||
|
#define CONFIG_CMD_DHCP
|
||||||
|
#define CONFIG_CMD_POST_DIAG
|
||||||
|
|
||||||
|
#ifdef CONFIG_BF537_NAND
|
||||||
|
#define CONFIG_CMD_NAND
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define CONFIG_BOOTARGS "root=/dev/mtdblock0 rw console=ttyBF0,57600"
|
#define CONFIG_BOOTARGS "root=/dev/mtdblock0 rw console=ttyBF0,57600"
|
||||||
#define CONFIG_LOADADDR 0x1000000
|
#define CONFIG_LOADADDR 0x1000000
|
||||||
|
|
||||||
|
@ -256,9 +263,6 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
|
|
||||||
#include <cmd_confdefs.h>
|
|
||||||
|
|
||||||
#if (BFIN_BOOT_MODE == BF537_SPI_MASTER_BOOT)
|
#if (BFIN_BOOT_MODE == BF537_SPI_MASTER_BOOT)
|
||||||
#if (BFIN_CPU == ADSP_BF534)
|
#if (BFIN_CPU == ADSP_BF534)
|
||||||
#define CFG_PROMPT "serial_bf534> " /* Monitor Command Prompt */
|
#define CFG_PROMPT "serial_bf534> " /* Monitor Command Prompt */
|
||||||
|
@ -277,7 +281,7 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#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 */
|
||||||
|
|
|
@ -164,12 +164,6 @@
|
||||||
#define CONFIG_BOOTARGS "root=/dev/mtdblock0 rw console=ttyBF0,57600"
|
#define CONFIG_BOOTARGS "root=/dev/mtdblock0 rw console=ttyBF0,57600"
|
||||||
|
|
||||||
#if (CONFIG_DRIVER_SMC91111)
|
#if (CONFIG_DRIVER_SMC91111)
|
||||||
#define CONFIG_COMMANDS1 (CONFIG_CMD_DFL | \
|
|
||||||
CFG_CMD_PING | \
|
|
||||||
CFG_CMD_ELF | \
|
|
||||||
CFG_CMD_CACHE | \
|
|
||||||
CFG_CMD_JFFS2 | \
|
|
||||||
CFG_CMD_DHCP)
|
|
||||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||||
"ramargs=setenv bootargs root=/dev/mtdblock0 rw console=ttyBF0,57600\0" \
|
"ramargs=setenv bootargs root=/dev/mtdblock0 rw console=ttyBF0,57600\0" \
|
||||||
"nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):" \
|
"nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):" \
|
||||||
|
@ -186,20 +180,27 @@
|
||||||
"cp.b $(loadaddr) 0x20000000 $(filesize)\0" \
|
"cp.b $(loadaddr) 0x20000000 $(filesize)\0" \
|
||||||
""
|
""
|
||||||
#else
|
#else
|
||||||
#define CONFIG_COMMANDS1 (CONFIG_CMD_DFL | \
|
|
||||||
CFG_CMD_ELF | \
|
|
||||||
CFG_CMD_CACHE | \
|
|
||||||
CFG_CMD_JFFS2)
|
|
||||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||||
"ramargs=setenv bootargs root=/dev/mtdblock0 rw console=ttyBF0,57600\0" \
|
"ramargs=setenv bootargs root=/dev/mtdblock0 rw console=ttyBF0,57600\0" \
|
||||||
"flashboot=bootm 0x20100000\0" \
|
"flashboot=bootm 0x20100000\0" \
|
||||||
""
|
""
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CONFIG_COMMANDS ( CONFIG_COMMANDS1 | CONFIG_COMMANDS2 )
|
|
||||||
|
|
||||||
/* 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_ELF
|
||||||
|
#define CONFIG_CMD_CACHE
|
||||||
|
#define CONFIG_CMD_JFFS2
|
||||||
|
|
||||||
|
#if defined(CONFIG_DRIVER_SMC91111)
|
||||||
|
#define CONFIG_CMD_PING
|
||||||
|
#define CONFIG_CMD_DHCP
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Console settings
|
* Console settings
|
||||||
|
@ -208,7 +209,7 @@
|
||||||
|
|
||||||
#define CFG_PROMPT "ezkit> " /* Monitor Command Prompt */
|
#define CFG_PROMPT "ezkit> " /* 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 */
|
||||||
|
|
|
@ -137,25 +137,28 @@
|
||||||
|
|
||||||
#define CONFIG_RTC_DS174x 1 /* use DS1743 RTC in Bubinga */
|
#define CONFIG_RTC_DS174x 1 /* use DS1743 RTC in Bubinga */
|
||||||
|
|
||||||
#define CONFIG_COMMANDS (CONFIG_CMD_DFL | \
|
|
||||||
CFG_CMD_ASKENV | \
|
|
||||||
CFG_CMD_CACHE | \
|
|
||||||
CFG_CMD_DATE | \
|
|
||||||
CFG_CMD_DHCP | \
|
|
||||||
CFG_CMD_EEPROM | \
|
|
||||||
CFG_CMD_ELF | \
|
|
||||||
CFG_CMD_I2C | \
|
|
||||||
CFG_CMD_IRQ | \
|
|
||||||
CFG_CMD_MII | \
|
|
||||||
CFG_CMD_NET | \
|
|
||||||
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_CACHE
|
||||||
|
#define CONFIG_CMD_DATE
|
||||||
|
#define CONFIG_CMD_DHCP
|
||||||
|
#define CONFIG_CMD_EEPROM
|
||||||
|
#define CONFIG_CMD_ELF
|
||||||
|
#define CONFIG_CMD_I2C
|
||||||
|
#define CONFIG_CMD_IRQ
|
||||||
|
#define CONFIG_CMD_MII
|
||||||
|
#define CONFIG_CMD_NET
|
||||||
|
#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 */
|
||||||
|
|
||||||
|
@ -166,7 +169,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 */
|
||||||
|
@ -219,7 +222,7 @@
|
||||||
#define CFG_I2C_NOPROBES { 0x69 } /* avoid iprobe hangup (why?) */
|
#define CFG_I2C_NOPROBES { 0x69 } /* avoid iprobe hangup (why?) */
|
||||||
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 6 /* 24C02 requires 5ms delay */
|
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 6 /* 24C02 requires 5ms delay */
|
||||||
|
|
||||||
#if (CONFIG_COMMANDS & CFG_CMD_EEPROM)
|
#if defined(CONFIG_CMD_EEPROM)
|
||||||
#define CFG_I2C_EEPROM_ADDR 0x50 /* I2C boot EEPROM (24C02W) */
|
#define CFG_I2C_EEPROM_ADDR 0x50 /* I2C boot EEPROM (24C02W) */
|
||||||
#define CFG_I2C_EEPROM_ADDR_LEN 1 /* Bytes of address */
|
#define CFG_I2C_EEPROM_ADDR_LEN 1 /* Bytes of address */
|
||||||
#endif
|
#endif
|
||||||
|
@ -314,7 +317,7 @@
|
||||||
*/
|
*/
|
||||||
#define CFG_DCACHE_SIZE 16384 /* For AMCC 405EP CPU */
|
#define CFG_DCACHE_SIZE 16384 /* For AMCC 405EP CPU */
|
||||||
#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
|
||||||
|
|
||||||
|
@ -426,7 +429,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
|
||||||
|
|
Loading…
Reference in a new issue