summaryrefslogtreecommitdiff
path: root/include/configs/TQM8540.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-04-02 22:37:54 +0000
committerwdenk <wdenk>2005-04-02 22:37:54 +0000
commit414eec35e3832f4f9ce8a25ace7ead638be1f76f (patch)
treea599df7a979e35b52494cfcd0d3f11d4270bc755 /include/configs/TQM8540.h
parentbe6b6e4e2de5fc857fb8207b5fce3f463c33f793 (diff)
downloadu-boot-imx-414eec35e3832f4f9ce8a25ace7ead638be1f76f.zip
u-boot-imx-414eec35e3832f4f9ce8a25ace7ead638be1f76f.tar.gz
u-boot-imx-414eec35e3832f4f9ce8a25ace7ead638be1f76f.tar.bz2
Fix problems with SNTP support;
enable SNTP support in some boards.
Diffstat (limited to 'include/configs/TQM8540.h')
-rw-r--r--include/configs/TQM8540.h47
1 files changed, 18 insertions, 29 deletions
diff --git a/include/configs/TQM8540.h b/include/configs/TQM8540.h
index 7d3d60f..fb965f5 100644
--- a/include/configs/TQM8540.h
+++ b/include/configs/TQM8540.h
@@ -1,5 +1,6 @@
/*
* Copyright 2005 DENX Software Engineering
+ * Wolfgang Denk <wd@denx.de>
* Copyright 2004 Freescale Semiconductor.
* (C) Copyright 2002,2003 Motorola,Inc.
* Xianghua Xiao <X.Xiao@motorola.com>
@@ -144,9 +145,6 @@
#define CFG_FLASH_CFI
#define CFG_FLASH_EMPTY_INFO
-#undef CONFIG_CLOCKS_IN_MHZ
-
-
#define CFG_LBC_LCRR 0x00030008 /* LB clock ratio reg */
#define CFG_LBC_LBCR 0x00000000 /* LB config reg */
#define CFG_LBC_LSRT 0x20000000 /* LB sdram refresh timer */
@@ -322,36 +320,27 @@
#define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
#define CFG_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
+#define CONFIG_TIMESTAMP /* Print image info with timestamp */
+
#if defined(CFG_RAMBOOT)
- #if defined(CONFIG_PCI)
- #define CONFIG_COMMANDS ((CONFIG_CMD_DFL \
- | CFG_CMD_PING \
- | CFG_CMD_PCI \
- | CFG_CMD_I2C) \
- & \
- ~(CFG_CMD_ENV \
- | CFG_CMD_LOADS))
- #else
- #define CONFIG_COMMANDS ((CONFIG_CMD_DFL \
- | CFG_CMD_PING \
- | CFG_CMD_I2C) \
- & \
- ~(CFG_CMD_ENV \
- | CFG_CMD_LOADS))
- #endif
+# define CONFIG_CMD_PRIV (CONFIG_CMD_DFL & ~(CFG_CMD_ENV | CFG_CMD_LOADS))
+#else
+# define CONFIG_CMD_PRIV (CONFIG_CMD_DFL | \
+ CFG_CMD_DHCP | \
+ CFG_CMD_NFS | \
+ CFG_CMD_SNTP )
+#endif
+
+#if defined(CONFIG_PCI)
+# define ADD_PCI_CMD (CFG_CMD_PCI)
#else
- #if defined(CONFIG_PCI)
- #define CONFIG_COMMANDS (CONFIG_CMD_DFL \
- | CFG_CMD_PCI \
- | CFG_CMD_PING \
- | CFG_CMD_I2C)
- #else
- #define CONFIG_COMMANDS (CONFIG_CMD_DFL \
- | CFG_CMD_PING \
- | CFG_CMD_I2C)
- #endif
+# define ADD_PCI_CMD 0
#endif
+#define CONFIG_COMMANDS (CONFIG_CMD_PRIV | \
+ ADD_PCI_CMD | \
+ CFG_CMD_PING | \
+ CFG_CMD_I2C )
#include <cmd_confdefs.h>
#undef CONFIG_WATCHDOG /* watchdog disabled */