summaryrefslogtreecommitdiff
path: root/board/trab/cmd_trab.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-09 18:45:16 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-09 18:48:11 -0500
commitab3abcbabd840928fb1eb5122118ca466b5e5013 (patch)
tree022107d16dfe93cf9a49755a0eeb8ede2dc4e8e4 /board/trab/cmd_trab.c
parent3fe00109a5f12de55b6e25b1f98dfc24bc9090c9 (diff)
downloadu-boot-imx-ab3abcbabd840928fb1eb5122118ca466b5e5013.zip
u-boot-imx-ab3abcbabd840928fb1eb5122118ca466b5e5013.tar.gz
u-boot-imx-ab3abcbabd840928fb1eb5122118ca466b5e5013.tar.bz2
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.c6
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,