ColdFire: Fix the build error for Freescale m5282evb board.
authorJason Jin <Jason.jin@freescale.com>
Tue, 16 Oct 2012 08:40:34 +0000 (16:40 +0800)
committerjason <jason@jason-ThinkPad-T61.(none)>
Fri, 19 Oct 2012 15:52:09 +0000 (23:52 +0800)
Clean up the lds file and fix the environment build error.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
board/freescale/m5282evb/u-boot.lds

index 4ba1964..500fefd 100644 (file)
@@ -29,6 +29,9 @@ SECTIONS
   {
     arch/m68k/cpu/mcf52x2/start.o      (.text*)
 
+    . = DEFINED(env_offset) ? env_offset : .;
+    common/env_embedded.o      (.text*)
+
     *(.text*)
   }
   _etext = .;