[U-Boot] [PATCH 2/2] ColdFire: Fix the build error for Freescale m5282evb board.

Jason Jin Jason.jin at freescale.com
Tue Oct 16 11:12:31 CEST 2012


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

Signed-off-by: Jason Jin <Jason.jin at freescale.com>
---
 board/freescale/m5282evb/u-boot.lds |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/board/freescale/m5282evb/u-boot.lds b/board/freescale/m5282evb/u-boot.lds
index 4ba1964..500fefd 100644
--- a/board/freescale/m5282evb/u-boot.lds
+++ b/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 = .;
-- 
1.6.4




More information about the U-Boot mailing list