[U-Boot] [PATCH] Small fix to m5282evb

Alan Carvalho de Assis acassis at gmail.com
Sat Mar 28 23:50:16 CET 2009


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

Signed-off-by: Alan Carvalho de Assis <acassis at gmail.com>
---
 board/freescale/m5282evb/u-boot.lds |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/board/freescale/m5282evb/u-boot.lds
b/board/freescale/m5282evb/u-boot.lds
index dc18b7d..f46e025 100644
--- a/board/freescale/m5282evb/u-boot.lds
+++ b/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)
-- 
1.5.6.3


More information about the U-Boot mailing list