Browse Source

ColdFire: Fix the build error for Freescale m5282evb board.

Clean up the lds file and fix the environment build error.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Jason Jin 12 years ago
parent
commit
87c9b18687
1 changed files with 3 additions and 0 deletions
  1. 3 0
      board/freescale/m5282evb/u-boot.lds

+ 3 - 0
board/freescale/m5282evb/u-boot.lds

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