From f26a247308568e32857a5cc054f7219510a7d44e Mon Sep 17 00:00:00 2001
From: TsiChung Liew <tsicliew@gmail.com>
Date: Mon, 15 Mar 2010 19:39:21 -0500
Subject: [PATCH] ColdFire: Fix incorrect M5253DEMO default environment

The flash location is at 0xff800000, not 0

Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
---
 include/configs/M5253DEMO.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/M5253DEMO.h b/include/configs/M5253DEMO.h
index 9944e12fe4e..b5af493b804 100644
--- a/include/configs/M5253DEMO.h
+++ b/include/configs/M5253DEMO.h
@@ -107,7 +107,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
-- 
GitLab