The flash location is at 0xff800000, not 0

Signed-off-by: TsiChung Liew <tsicl...@gmail.com>
---
 include/configs/M5253DEMO.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/configs/M5253DEMO.h b/include/configs/M5253DEMO.h
index 2d2e056..1eff44c 100644
--- a/include/configs/M5253DEMO.h
+++ b/include/configs/M5253DEMO.h
@@ -112,7 +112,7 @@
                "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
-- 
1.6.2.5

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to