intel_adsp: move attribute macros to dedicated linker header
Those belong where other attribute macros are usually defined. They are not xtensa or ADSP specific and are used across Intel SoCs on all architectures. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
680df57582
commit
76f990af8a
|
@ -18,6 +18,10 @@
|
|||
#define __irq_vector_table Z_GENERIC_SECTION(_IRQ_VECTOR_TABLE_SECTION_NAME)
|
||||
#define __sw_isr_table Z_GENERIC_SECTION(_SW_ISR_TABLE_SECTION_NAME)
|
||||
|
||||
/* Attribute macros to place code and data into IMR memory */
|
||||
#define __imr __in_section_unique(imr)
|
||||
#define __imrdata __in_section_unique(imrdata)
|
||||
|
||||
#if defined(CONFIG_ARM)
|
||||
#define __kinetis_flash_config_section __in_section_unique(_KINETIS_FLASH_CONFIG_SECTION_NAME)
|
||||
#define __ti_ccfg_section Z_GENERIC_SECTION(_TI_CCFG_SECTION_NAME)
|
||||
|
|
|
@ -57,9 +57,6 @@
|
|||
#define DSP_WCT_CS_TA(x) BIT(x)
|
||||
#define DSP_WCT_CS_TT(x) BIT(4 + x)
|
||||
|
||||
/* Attribute macros to place code and data into IMR memory */
|
||||
#define __imr __in_section_unique(imr)
|
||||
#define __imrdata __in_section_unique(imrdata)
|
||||
|
||||
extern char _text_start[];
|
||||
extern char _text_end[];
|
||||
|
|
Loading…
Reference in a new issue