ColdFire: Update M5253DEMO configuration file
authorTsiChung Liew <tsicliew@gmail.com>
Wed, 10 Mar 2010 17:56:36 +0000 (11:56 -0600)
committerTsiChung Liew <tsicliew@gmail.com>
Wed, 24 Mar 2010 16:09:13 +0000 (11:09 -0500)
Fix incorrect default environment for flash erase or protect
range. Change offset from 0 to 0xff80nnnn. Remove default
ethernet setup and MAC address.

Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
include/configs/M5253DEMO.h

index 5e86e4c..f813f88 100644 (file)
 #      define DM9000_DATA              (CONFIG_DM9000_BASE + 4)
 #      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_OVERWRITE_ETHADDR_ONCE
 
 #      define CONFIG_EXTRA_ENV_SETTINGS                \
                "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"                                \
                ""