]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 4ba1964f7ef44d0331a3a43622939cddb33894ab..500fefd445e5ad408f6ffa9811a5577a20b6043f 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 = .;