summaryrefslogtreecommitdiff
path: root/include/configs/mx31ads.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <lg@denx.de>2008-04-28 00:25:32 +0200
committerWolfgang Denk <wd@denx.de>2008-04-28 11:10:26 +0200
commit7602ed50a2f0ef3dc8d7da93f116de50288f5b59 (patch)
treebcdc178894f53023a5fd777782c7282879066549 /include/configs/mx31ads.h
parent144eec777ac07bcb12bd38245a5a289f694a7f98 (diff)
downloadu-boot-imx-7602ed50a2f0ef3dc8d7da93f116de50288f5b59.zip
u-boot-imx-7602ed50a2f0ef3dc8d7da93f116de50288f5b59.tar.gz
u-boot-imx-7602ed50a2f0ef3dc8d7da93f116de50288f5b59.tar.bz2
mx31ads: fix loadaddr environment variable define
Arithmetic expressions do not get evaluated under stringification. Remove default network configuration, add DHCP command support. Thanks to Felix Radensky for reporting. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Diffstat (limited to 'include/configs/mx31ads.h')
-rw-r--r--include/configs/mx31ads.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/configs/mx31ads.h b/include/configs/mx31ads.h
index 5286e1f..7614b95 100644
--- a/include/configs/mx31ads.h
+++ b/include/configs/mx31ads.h
@@ -79,15 +79,13 @@
#include <config_cmd_default.h>
#define CONFIG_CMD_PING
+#define CONFIG_CMD_DHCP
#define CONFIG_CMD_SPI
#define CONFIG_CMD_DATE
#define CONFIG_BOOTDELAY 3
-#define CONFIG_NETMASK 255.255.255.0
-#define CONFIG_IPADDR 192.168.23.168
-#define CONFIG_SERVERIP 192.168.23.2
-#define CONFIG_LOADADDR (CSD0_BASE + 0x800000) /* loadaddr env var */
+#define CONFIG_LOADADDR 0x80800000 /* loadaddr env var */
#define CONFIG_EXTRA_ENV_SETTINGS \
"netdev=eth0\0" \