]> git.sur5r.net Git - u-boot/commitdiff
ColdFire: Fix incorrect M5253DEMO default environment
authorTsiChung Liew <tsicliew@gmail.com>
Tue, 16 Mar 2010 00:39:21 +0000 (19:39 -0500)
committerTsiChung Liew <tsicliew@gmail.com>
Wed, 24 Mar 2010 16:09:39 +0000 (11:09 -0500)
The flash location is at 0xff800000, not 0

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

index 9944e12fe4e2d3adae908fcf3161f4bf249b0127..b5af493b804ee755c4b94966b7c48186d63708f4 100644 (file)
                "upd=run load; run prog\0"              \
                "prog=prot off 0xff800000 0xff82ffff;"  \
                "era 0xff800000 0xff82ffff;"            \
-               "cp.b ${loadaddr} 0 ${filesize};"       \
+               "cp.b ${loadaddr} 0xff800000 ${filesize};"      \
                "save\0"                                \
                ""
 #endif