linker: arm: add stm32 ccm sections

The STM32 has special Core Coupled Memory, ccm for short, that can
only be accessed through the CPU and can not be use for DMA.

The following 3 sections have been added.
- ccm_bss for zero initialized data
- ccm_data for initialized data
- ccm_noinit for uninitialized data

Signed-off-by: Erwin Rol <erwin@erwinrol.com>
This commit is contained in:
Erwin Rol 2017-10-05 01:20:21 +02:00 committed by Kumar Gala
commit 581446d8cd
4 changed files with 63 additions and 0 deletions

View file

@ -51,6 +51,11 @@
#if defined(CONFIG_ARM)
#define KINETIS_FLASH_CONFIG kinetis_flash_config
#define TI_CCFG .ti_ccfg
#define _CCM_DATA_SECTION_NAME ccm_data
#define _CCM_BSS_SECTION_NAME ccm_bss
#define _CCM_NOINIT_SECTION_NAME ccm_noinit
#endif
#include <linker/section_tags.h>