include/configs: Use new CONFIG_CMD_* in various l* named board config files.
PATCH 17/25 include/configs: Use new CONFIG_CMD_* in various l* named board config files.
Signed-off-by Jon Loeliger <[email protected]>
--- include/configs/lart.h | 10 +++++--- include/configs/logodl.h | 15 +++++++++--- include/configs/lpc2292sodimm.h | 20 ++++++++-------- include/configs/lpd7a400.h | 16 ++++++++----- include/configs/lpd7a404.h | 16 ++++++++----- include/configs/luan.h | 48 ++++++++++++++++++++------------------ include/configs/lubbock.h | 13 +++++++--- include/configs/lwmon.h | 43 ++++++++++++++++++---------------- 8 files changed, 104 insertions(+), 77 deletions(-)
include/configs/lart.h +6 -4
@@ -59,10 +59,12 @@#define CONFIG_BAUDRATE 9600 -#define CONFIG_COMMANDS (CONFIG_CMD_DFL) -/* 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_BOOTDELAY 3#define CONFIG_BOOTARGS "root=ramfs devfs=mount console=ttySA0,9600"
@@ -73,7 +75,7 @@#define CONFIG_BOOTFILE "elinos-lart"#define CONFIG_BOOTCOMMAND "tftp; bootm" -#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_SER_INDEX 2/* which serial port to use */ #endif
include/configs/logodl.h +11 -4
@@ -54,10 +54,17 @@#define CONFIG_BAUDRATE 19200#undef CONFIG_MISC_INIT_R/* FIXME: misc_init_r() missing */ -#define CONFIG_COMMANDS (CFG_CMD_FLASH|CFG_CMD_MEMORY|CFG_CMD_ENV|CFG_CMD_RUN|CFG_CMD_ASKENV|CFG_CMD_ECHO) -/* CONFIG_CMD_DFL|CFG_CMD_I2C|CFG_CMD_EEPROM|CFG_CMD_NET|CFG_CMD_JFFS2|CFG_CMD_DHCP) */ -/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */ -#include <cmd_confdefs.h> + +/* +* Command line configuration. +*/ +#define CONFIG_CMD_ASKENV +#define CONFIG_CMD_ECHO +#define CONFIG_CMD_ENV +#define CONFIG_CMD_FLASH +#define CONFIG_CMD_MEMORY +#define CONFIG_CMD_RUN +#define CONFIG_BOOTDELAY 3/* #define CONFIG_BOOTARGS "root=/dev/nfs ip=bootp console=ttyS0,19200" */
include/configs/lpc2292sodimm.h +10 -10
@@ -68,22 +68,22 @@#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT|CONFIG_BOOTP_BOOTFILESIZE) +/* -* Supported commands +* Command line configuration. */ -#define CONFIG_COMMANDS (CONFIG_CMD_DFL | \ - CFG_CMD_DHCP | \ - CFG_CMD_FAT | \ - CFG_CMD_MMC | \ - CFG_CMD_NET | \ - CFG_CMD_PING) +#include <config_cmd_default.h> + +#define CONFIG_CMD_DHCP +#define CONFIG_CMD_FAT +#define CONFIG_CMD_MMC +#define CONFIG_CMD_NET +#define CONFIG_CMD_PING +#define CONFIG_MAC_PARTITION #define CONFIG_DOS_PARTITION -/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */ -#include <cmd_confdefs.h> -#define CONFIG_BOOTDELAY 5/*
include/configs/lpd7a400.h +10 -6
@@ -55,19 +55,23 @@#define CONFIG_TIMESTAMP 1/* Print timestamp info for images */ + +/* +* Command line configuration. +*/ +#include <config_cmd_default.h> +#ifndef USE_920T_MMU -#define CONFIG_COMMANDS ((CONFIG_CMD_DFL | CFG_CMD_PING) & ~(CFG_CMD_CACHE)) +#define CONFIG_CMD_PING +#undef CONFIG_CMD_CACHE#else -#define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_DATE) +#define CONFIG_CMD_DATE #endif -/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */ -#include <cmd_confdefs.h> -#define CONFIG_BOOTDELAY 3 -#if (CONFIG_COMMANDS &CFG_CMD_KGDB ) +#if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 115200/* speed to run kgdb serial port */ /* what's this ? it's not used anywhere */ #define CONFIG_KGDB_SER_INDEX 1/* which serial port to use */
include/configs/lpd7a404.h +10 -6
@@ -55,19 +55,23 @@#define CONFIG_TIMESTAMP 1/* Print timestamp info for images */ + +/* +* Command line configuration. +*/ +#include <config_cmd_default.h> +#ifndef USE_920T_MMU -#define CONFIG_COMMANDS ((CONFIG_CMD_DFL | CFG_CMD_PING) & ~(CFG_CMD_CACHE)) +#define CONFIG_CMD_PING ) +#undef CONFIG_CMD_CACHE#else -#define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_DATE) +#define CONFIG_CMD_DATE #endif -/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */ -#include <cmd_confdefs.h> -#define CONFIG_BOOTDELAY 3 -#if (CONFIG_COMMANDS &CFG_CMD_KGDB ) +#if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 115200/* speed to run kgdb serial port */ /* what's this ? it's not used anywhere */ #define CONFIG_KGDB_SER_INDEX 1/* which serial port to use */
include/configs/luan.h +25 -23
84 lines not on this page · raw message
include/configs/lubbock.h +9 -4
@@ -67,10 +67,15 @@#define CONFIG_BAUDRATE 115200 -#define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_MMC | CFG_CMD_FAT) -/* 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_MMC +#define CONFIG_CMD_FAT +#define CONFIG_BOOTDELAY 3#define CONFIG_ETHADDR 08:00:3e:26:0a:5b
@@ -82,7 +87,7 @@#define CONFIG_CMDLINE_TAG #define CONFIG_TIMESTAMP -#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_SER_INDEX 2/* which serial port to use */ #endif
include/configs/lwmon.h +23 -20
72 lines not on this page · raw message
Signature · 1 line
1.5.2.2.249.g45fd