]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/m5282evb/u-boot.lds
85xx: Fix the wrong BCSR address of 8569MDS
[u-boot] / board / freescale / m5282evb / u-boot.lds
index dd2666b764f16c0a38e035c4cdcb3a372ca112a0..f46e0251efd72a1def792b449ff01019811d62e0 100644 (file)
@@ -60,10 +60,9 @@ SECTIONS
     lib_generic/string.o       (.text)
     lib_generic/vsprintf.o     (.text)
     lib_generic/crc32.o        (.text)
-    lib_generic/zlib.o (.text)
 
-/*    . = env_offset; */
-    common/environment.o(.text)
+    . = DEFINED(env_offset) ? env_offset : .;
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
@@ -73,8 +72,7 @@ SECTIONS
   PROVIDE (etext = .);
   .rodata    :
   {
-    *(.rodata)
-    *(.rodata1)
+    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
   }
   .fini      : { *(.fini)    } =0
   .ctors     : { *(.ctors)   }