]> git.sur5r.net Git - u-boot/commitdiff
mx31ads: fix loadaddr environment variable define
authorGuennadi Liakhovetski <lg@denx.de>
Sun, 27 Apr 2008 22:25:32 +0000 (00:25 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 28 Apr 2008 09:10:26 +0000 (11:10 +0200)
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>
include/configs/mx31ads.h

index 5286e1f538c20c3effe80258d4c78cf7e4b88cb2..7614b95019d95316a6d090954794d439924fbfcf 100644 (file)
 #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"                                                 \