[U-Boot] [PATCH 12/13] ColdFire: Fix incorrect M5253DEMO default environment

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


The flash location is at 0xff800000, not 0

Signed-off-by: TsiChung Liew <tsicliew at 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



More information about the U-Boot mailing list