diff options
author | Jon Loeliger <jdl@freescale.com> | 2007-07-09 23:45:16 (GMT) |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-07-09 23:48:11 (GMT) |
commit | ab3abcbabd840928fb1eb5122118ca466b5e5013 (patch) | |
tree | 022107d16dfe93cf9a49755a0eeb8ede2dc4e8e4 /board/trab/cmd_trab.c | |
parent | 3fe00109a5f12de55b6e25b1f98dfc24bc9090c9 (diff) | |
download | u-boot-fsl-qoriq-ab3abcbabd840928fb1eb5122118ca466b5e5013.tar.xz |
board/[q-z]*: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'board/trab/cmd_trab.c')
-rw-r--r-- | board/trab/cmd_trab.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/trab/cmd_trab.c b/board/trab/cmd_trab.c index 7dd97a1..2db6a34 100644 --- a/board/trab/cmd_trab.c +++ b/board/trab/cmd_trab.c @@ -32,7 +32,7 @@ * TRAB board specific commands. Especially commands for burn-in and function * test. */ -#if (CONFIG_COMMANDS & CFG_CMD_BSP) || defined(CONFIG_CMD_BSP) +#if defined(CONFIG_CMD_BSP) /* limits for valid range of VCC5V in mV */ #define VCC5V_MIN 4500 @@ -846,7 +846,7 @@ int do_temp_log (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) { int contact_temp; int delay = 0; -#if (CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_CMD_DATE) +#if defined(CONFIG_CMD_DATE) struct rtc_time tm; #endif @@ -862,7 +862,7 @@ int do_temp_log (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) spi_init (); while (1) { -#if (CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_CMD_DATE) +#if defined(CONFIG_CMD_DATE) rtc_get (&tm); printf ("%4d-%02d-%02d %2d:%02d:%02d - ", tm.tm_year, tm.tm_mon, tm.tm_mday, |