]> git.sur5r.net Git - u-boot/blobdiff - include/configs/ibf-dsp561.h
Blackfin: unify u-boot linker scripts
[u-boot] / include / configs / ibf-dsp561.h
index 77387426403c97856ff403a4e6553b7f54cf9ffb..066859f8ee8c59489af6337b417022c38069954c 100644 (file)
 #else
 #define ENV_IS_EMBEDDED_CUSTOM
 #endif
+#ifdef ENV_IS_EMBEDDED
+/* WARNING - the following is hand-optimized to fit within
+ * the sector before the environment sector. If it throws
+ * an error during compilation remove an object here to get
+ * it linked after the configuration sector.
+ */
+# define LDS_BOARD_TEXT \
+       cpu/blackfin/traps.o            (.text .text.*); \
+       cpu/blackfin/interrupt.o        (.text .text.*); \
+       cpu/blackfin/serial.o           (.text .text.*); \
+       common/dlmalloc.o               (.text .text.*); \
+       lib_generic/crc32.o             (.text .text.*); \
+       lib_generic/zlib.o              (.text .text.*); \
+       board/ibf-dsp561/ibf-dsp561.o   (.text .text.*); \
+       . = DEFINED(env_offset) ? env_offset : .; \
+       common/env_embedded.o           (.text .text.*);
+#endif
 
 
 /*