diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/bf533-stamp.h | 15 | ||||
| -rw-r--r-- | include/configs/bf537-pnav.h | 15 | ||||
| -rw-r--r-- | include/configs/bf537-stamp.h | 15 | ||||
| -rw-r--r-- | include/configs/bf538f-ezkit.h | 15 | ||||
| -rw-r--r-- | include/configs/bf561-ezkit.h | 17 | ||||
| -rw-r--r-- | include/configs/cm-bf537e.h | 15 | ||||
| -rw-r--r-- | include/configs/ibf-dsp561.h | 17 | ||||
| -rw-r--r-- | include/configs/tcm-bf537.h | 15 | 
8 files changed, 124 insertions, 0 deletions
| diff --git a/include/configs/bf533-stamp.h b/include/configs/bf533-stamp.h index 242bf5a4e..579540ebe 100644 --- a/include/configs/bf533-stamp.h +++ b/include/configs/bf533-stamp.h @@ -117,6 +117,21 @@  #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.*); \ +	. = DEFINED(env_offset) ? env_offset : .; \ +	common/env_embedded.o		(.text .text.*); +#endif  /* diff --git a/include/configs/bf537-pnav.h b/include/configs/bf537-pnav.h index c8a59ab57..284c7fc60 100644 --- a/include/configs/bf537-pnav.h +++ b/include/configs/bf537-pnav.h @@ -105,6 +105,21 @@  #endif  #define CONFIG_ENV_SIZE		0x1000  #define CONFIG_ENV_SECT_SIZE	0x2000 +#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.*); \ +	. = DEFINED(env_offset) ? env_offset : .; \ +	common/env_embedded.o		(.text .text.*); +#endif  /* diff --git a/include/configs/bf537-stamp.h b/include/configs/bf537-stamp.h index a8c5b9177..e883f2ebf 100644 --- a/include/configs/bf537-stamp.h +++ b/include/configs/bf537-stamp.h @@ -115,6 +115,21 @@  #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.*); \ +	. = DEFINED(env_offset) ? env_offset : .; \ +	common/env_embedded.o		(.text .text.*); +#endif  /* diff --git a/include/configs/bf538f-ezkit.h b/include/configs/bf538f-ezkit.h index f719accbf..91622e37a 100644 --- a/include/configs/bf538f-ezkit.h +++ b/include/configs/bf538f-ezkit.h @@ -111,6 +111,21 @@  #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.*); \ +	. = DEFINED(env_offset) ? env_offset : .; \ +	common/env_embedded.o		(.text .text.*); +#endif  /* 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  /* diff --git a/include/configs/cm-bf537e.h b/include/configs/cm-bf537e.h index 65604edd6..021b631a9 100644 --- a/include/configs/cm-bf537e.h +++ b/include/configs/cm-bf537e.h @@ -94,6 +94,21 @@  #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.*); \ +	. = DEFINED(env_offset) ? env_offset : .; \ +	common/env_embedded.o		(.text .text.*); +#endif  /* diff --git a/include/configs/ibf-dsp561.h b/include/configs/ibf-dsp561.h index 773874264..066859f8e 100644 --- a/include/configs/ibf-dsp561.h +++ b/include/configs/ibf-dsp561.h @@ -77,6 +77,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/ibf-dsp561/ibf-dsp561.o	(.text .text.*); \ +	. = DEFINED(env_offset) ? env_offset : .; \ +	common/env_embedded.o		(.text .text.*); +#endif  /* diff --git a/include/configs/tcm-bf537.h b/include/configs/tcm-bf537.h index 31fe61a81..9794e1b90 100644 --- a/include/configs/tcm-bf537.h +++ b/include/configs/tcm-bf537.h @@ -95,6 +95,21 @@  #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.*); \ +	. = DEFINED(env_offset) ? env_offset : .; \ +	common/env_embedded.o		(.text .text.*); +#endif  /* |