diff options
Diffstat (limited to 'include/configs/bf561-ezkit.h')
| -rw-r--r-- | include/configs/bf561-ezkit.h | 17 | 
1 files changed, 17 insertions, 0 deletions
| diff --git a/include/configs/bf561-ezkit.h b/include/configs/bf561-ezkit.h index e7cfc8a40..4779a97a4 100644 --- a/include/configs/bf561-ezkit.h +++ b/include/configs/bf561-ezkit.h @@ -88,6 +88,23 @@  #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/bf561-ezkit/bf561-ezkit.o	(.text .text.*); \ +	. = DEFINED(env_offset) ? env_offset : .; \ +	common/env_embedded.o		(.text .text.*); +#endif  /* |