Make INITDATA_ATTR work on everything that has INIT_ATTR enabled for code.

Change-Id: If9936bfbbd3bc3eb2a3e3e290701b8517eabfb13
This commit is contained in:
Michael Sevakis 2012-05-01 01:26:22 -04:00
parent 87d3dde15a
commit b4eec0dd42
11 changed files with 10 additions and 11 deletions

View file

@ -105,7 +105,7 @@ SECTIONS
{
. = ALIGN(4);
_initstart = .;
*(.init)
*(.init*)
_initend = .;
} AT> DRAM

View file

@ -74,7 +74,7 @@ SECTIONS
{
. = ALIGN(4);
_initstart = .;
*(.init)
*(.init*)
. = ALIGN(0x4);
_initend = .;
} AT> DRAM

View file

@ -100,7 +100,6 @@ SECTIONS
. = ALIGN(4);
_initstart = .;
*(.init*)
*(.initdata*)
_initend = .;
} > INIT AT> DRAM

View file

@ -117,7 +117,7 @@ SECTIONS
{
. = ALIGN(4);
_initstart = .;
*(.init)
*(.init*)
_initend = .;
} AT> DRAM

View file

@ -117,7 +117,7 @@ SECTIONS
{
. = ALIGN(4);
_initstart = .;
*(.init)
*(.init*)
_initend = .;
} AT> DRAM

View file

@ -117,7 +117,7 @@ SECTIONS
{
. = ALIGN(4);
_initstart = .;
*(.init)
*(.init*)
_initend = .;
} AT> DRAM

View file

@ -117,7 +117,7 @@ SECTIONS
{
. = ALIGN(4);
_initstart = .;
*(.init)
*(.init*)
_initend = .;
} AT> DRAM

View file

@ -117,7 +117,7 @@ SECTIONS
{
. = ALIGN(4);
_initstart = .;
*(.init)
*(.init*)
_initend = .;
} AT> DRAM

View file

@ -117,7 +117,7 @@ SECTIONS
{
. = ALIGN(4);
_initstart = .;
*(.init)
*(.init*)
_initend = .;
} AT> DRAM

View file

@ -114,7 +114,7 @@ SECTIONS
{
. = ALIGN(4);
_initstart = .;
*(.init)
*(.init*)
_initend = .;
} AT> DRAM

View file

@ -528,7 +528,7 @@ bool dsp_is_busy(const struct dsp_config *dsp)
* Must be done before changing settings for the first time. */
void INIT_ATTR dsp_init(void)
{
static const uint8_t slot_count[DSP_COUNT] /* INITDATA_ATTR */ =
static const uint8_t slot_count[DSP_COUNT] INITDATA_ATTR =
{
[CODEC_IDX_AUDIO] = DSP_NUM_PROC_STAGES,
[CODEC_IDX_VOICE] = DSP_VOICE_NUM_PROC_STAGES