arm: Modify linker script to accomodate need for flash footer.

The porting of the TI CC2650 SoC introduces the need to
write a specific configuration area (CCFG) at the end of the
flash. It is read by the bootloader ROM of the SoC.

For now, this is a quick hack and not a generic solution;
similar needs may arise with other hardware.

Signed-off-by: Geoffrey Le Gourriérec <geoffrey.legourrierec@smile.fr>
This commit is contained in:
Geoffrey Le Gourriérec 2017-06-15 14:05:45 +02:00 committed by Anas Nashif
commit 4ecab603d3
3 changed files with 20 additions and 0 deletions

View file

@ -46,6 +46,7 @@
/* Architecture-specific sections */
#if defined(CONFIG_ARM)
#define KINETIS_FLASH_CONFIG kinetis_flash_config
#define TI_CCFG .ti_ccfg
#endif
#include <section_tags.h>