Commit ac265f7fcab1a09b9a837a34ef8b10acc101695e

Authored by TsiChung Liew
1 parent 68e4e76af5

ColdFire: Update M5253DEMO configuration file

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>

Showing 1 changed file with 2 additions and 7 deletions Side-by-side Diff

include/configs/M5253DEMO.h
... ... @@ -95,11 +95,6 @@
95 95 # define DM9000_DATA (CONFIG_DM9000_BASE + 4)
96 96 # undef CONFIG_DM9000_DEBUG
97 97  
98   -# define CONFIG_ETHADDR 00:e0:0c:bc:e5:60
99   -# define CONFIG_IPADDR 10.82.121.249
100   -# define CONFIG_NETMASK 255.255.252.0
101   -# define CONFIG_SERVERIP 10.82.120.80
102   -# define CONFIG_GATEWAYIP 10.82.123.254
103 98 # define CONFIG_OVERWRITE_ETHADDR_ONCE
104 99  
105 100 # define CONFIG_EXTRA_ENV_SETTINGS \
... ... @@ -109,8 +104,8 @@
109 104 "u-boot=u-boot.bin\0" \
110 105 "load=tftp ${loadaddr) ${u-boot}\0" \
111 106 "upd=run load; run prog\0" \
112   - "prog=prot off 0 2ffff;" \
113   - "era 0 2ffff;" \
  107 + "prog=prot off 0xff800000 0xff82ffff;" \
  108 + "era 0xff800000 0xff82ffff;" \
114 109 "cp.b ${loadaddr} 0 ${filesize};" \
115 110 "save\0" \
116 111 ""