浏览代码

Small fix to m5282evb

This is just a small fix to get u-boot on m5282evb.

Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
Alan Carvalho de Assis 16 年之前
父节点
当前提交
9abc9ef8fb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      board/freescale/m5282evb/u-boot.lds

+ 1 - 1
board/freescale/m5282evb/u-boot.lds

@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/vsprintf.o	(.text)
     lib_generic/crc32.o	(.text)
 
-    . = env_offset;
+    . = DEFINED(env_offset) ? env_offset : .;
     common/env_embedded.o(.text)
 
     *(.text)