浏览代码

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 年之前
父节点
当前提交
87c9b18687
共有 1 个文件被更改,包括 3 次插入0 次删除
  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 = .;