ColdFire: Cache update for all platforms
[oweals/u-boot.git] / include / configs / ibf-dsp561.h
index 77387426403c97856ff403a4e6553b7f54cf9ffb..7c9f71e88888e4392eb94414bd1c58469c410631 100644 (file)
 #if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_BYPASS)
 #define ENV_IS_EMBEDDED
 #else
-#define ENV_IS_EMBEDDED_CUSTOM
+#define CONFIG_ENV_IS_EMBEDDED_IN_LDR
+#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