ppc4xx: acadia: Add fdt support and fix section overlap problem
[oweals/u-boot.git] / board / amcc / canyonlands / u-boot-nand.lds
index 12a5dcf85c117cd359c0f898fc9af0fd4a1f81b7..332e3aaf2a74ff18500416d900e7c68f7c4a429b 100644 (file)
@@ -22,7 +22,6 @@
  */
 
 OUTPUT_ARCH(powerpc)
-SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib);
 SECTIONS
 {
   /* Read-only sections, merged into text segment: */
@@ -57,10 +56,10 @@ SECTIONS
     cpu/ppc4xx/start.o (.text)
 
     /* Align to next NAND block */
-    . = ALIGN(0x4000);
+    . = ALIGN(0x20000);
     common/environment.o  (.ppcenv)
     /* Keep some space here for redundant env and potential bad env blocks */
-    . = ALIGN(0x10000);
+    . = ALIGN(0x80000);
 
     *(.text)
     *(.fixup)