[U-Boot] [PATCH 05/13] ColdFire: Update M5253DEMO configuration file

TsiChung Liew tsicliew at gmail.com
Thu Mar 18 02:39:29 CET 2010


Fix incorrect default environment for flash erase or protect
range. Change offset from 0 to 0xff80nnnn. Change default
ethernet setup.

Signed-off-by: TsiChung Liew <tsicliew at gmail.com>
---
 include/configs/M5253DEMO.h |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/configs/M5253DEMO.h b/include/configs/M5253DEMO.h
index 5e86e4c..051e194 100644
--- a/include/configs/M5253DEMO.h
+++ b/include/configs/M5253DEMO.h
@@ -96,10 +96,10 @@
 #	undef CONFIG_DM9000_DEBUG
 
 #	define CONFIG_ETHADDR		00:e0:0c:bc:e5:60
-#	define CONFIG_IPADDR		10.82.121.249
-#	define CONFIG_NETMASK		255.255.252.0
-#	define CONFIG_SERVERIP		10.82.120.80
-#	define CONFIG_GATEWAYIP		10.82.123.254
+#	define CONFIG_IPADDR		192.168.1.2
+#	define CONFIG_NETMASK		255.255.255.0
+#	define CONFIG_SERVERIP		192.168.1.1
+#	define CONFIG_GATEWAYIP		192.168.1.1
 #	define CONFIG_OVERWRITE_ETHADDR_ONCE
 
 #	define CONFIG_EXTRA_ENV_SETTINGS		\
@@ -109,8 +109,8 @@
 		"u-boot=u-boot.bin\0"			\
 		"load=tftp ${loadaddr) ${u-boot}\0"	\
 		"upd=run load; run prog\0"		\
-		"prog=prot off 0 2ffff;"	\
-		"era 0 2ffff;"			\
+		"prog=prot off 0xff800000 0xff82ffff;"	\
+		"era 0xff800000 0xff82ffff;"		\
 		"cp.b ${loadaddr} 0 ${filesize};"	\
 		"save\0"				\
 		""
-- 
1.6.2.5



More information about the U-Boot mailing list