From c6675365352b6ca6acb161a71adf6f36e5477802 Mon Sep 17 00:00:00 2001 From: Khoa Nguyen Date: Thu, 26 Dec 2024 16:41:29 +0700 Subject: [PATCH] soc: renesas: ra: Remove code_in_ram section Remove code_in_ram section which is defined in sections.ld of ra8m1, ra8d1, ra8t1, ra6m5, ra6m4, ra6m3, ra6m2, ra6m1, ra6e2, ra6e1, ra4m3, ra4m2, ra4e2 Signed-off-by: Khoa Nguyen --- soc/renesas/ra/ra4e2/sections.ld | 8 -------- soc/renesas/ra/ra4m2/sections.ld | 8 -------- soc/renesas/ra/ra4m3/sections.ld | 8 -------- soc/renesas/ra/ra6e1/sections.ld | 8 -------- soc/renesas/ra/ra6e2/sections.ld | 8 -------- soc/renesas/ra/ra6m1/sections.ld | 8 -------- soc/renesas/ra/ra6m2/sections.ld | 8 -------- soc/renesas/ra/ra6m3/sections.ld | 8 -------- soc/renesas/ra/ra6m4/sections.ld | 8 -------- soc/renesas/ra/ra6m5/sections.ld | 8 -------- soc/renesas/ra/ra8d1/sections.ld | 8 -------- soc/renesas/ra/ra8m1/sections.ld | 8 -------- soc/renesas/ra/ra8t1/sections.ld | 8 -------- 13 files changed, 104 deletions(-) diff --git a/soc/renesas/ra/ra4e2/sections.ld b/soc/renesas/ra/ra4e2/sections.ld index 511ad0854a2..8999a6524ed 100644 --- a/soc/renesas/ra/ra4e2/sections.ld +++ b/soc/renesas/ra/ra4e2/sections.ld @@ -4,14 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -.code_in_ram : -{ - . = ALIGN(4); - __Code_In_RAM_Start = .; - KEEP(*(.code_in_ram*)) - __Code_In_RAM_End = .; -} > RAMABLE_REGION - SECTION_DATA_PROLOGUE(.fsp_dtc_vector_table,(NOLOAD),) { /* If DTC is used, put the DTC vector table at the start of SRAM. diff --git a/soc/renesas/ra/ra4m2/sections.ld b/soc/renesas/ra/ra4m2/sections.ld index cfc81aeec00..1fe7db907a3 100644 --- a/soc/renesas/ra/ra4m2/sections.ld +++ b/soc/renesas/ra/ra4m2/sections.ld @@ -4,14 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -.code_in_ram : -{ - . = ALIGN(4); - __Code_In_RAM_Start = .; - KEEP(*(.code_in_ram*)) - __Code_In_RAM_End = .; -} > RAMABLE_REGION - SECTION_DATA_PROLOGUE(.fsp_dtc_vector_table,(NOLOAD),) { /* If DTC is used, put the DTC vector table at the start of SRAM. diff --git a/soc/renesas/ra/ra4m3/sections.ld b/soc/renesas/ra/ra4m3/sections.ld index cfc81aeec00..1fe7db907a3 100644 --- a/soc/renesas/ra/ra4m3/sections.ld +++ b/soc/renesas/ra/ra4m3/sections.ld @@ -4,14 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -.code_in_ram : -{ - . = ALIGN(4); - __Code_In_RAM_Start = .; - KEEP(*(.code_in_ram*)) - __Code_In_RAM_End = .; -} > RAMABLE_REGION - SECTION_DATA_PROLOGUE(.fsp_dtc_vector_table,(NOLOAD),) { /* If DTC is used, put the DTC vector table at the start of SRAM. diff --git a/soc/renesas/ra/ra6e1/sections.ld b/soc/renesas/ra/ra6e1/sections.ld index cfc81aeec00..1fe7db907a3 100644 --- a/soc/renesas/ra/ra6e1/sections.ld +++ b/soc/renesas/ra/ra6e1/sections.ld @@ -4,14 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -.code_in_ram : -{ - . = ALIGN(4); - __Code_In_RAM_Start = .; - KEEP(*(.code_in_ram*)) - __Code_In_RAM_End = .; -} > RAMABLE_REGION - SECTION_DATA_PROLOGUE(.fsp_dtc_vector_table,(NOLOAD),) { /* If DTC is used, put the DTC vector table at the start of SRAM. diff --git a/soc/renesas/ra/ra6e2/sections.ld b/soc/renesas/ra/ra6e2/sections.ld index 511ad0854a2..8999a6524ed 100644 --- a/soc/renesas/ra/ra6e2/sections.ld +++ b/soc/renesas/ra/ra6e2/sections.ld @@ -4,14 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -.code_in_ram : -{ - . = ALIGN(4); - __Code_In_RAM_Start = .; - KEEP(*(.code_in_ram*)) - __Code_In_RAM_End = .; -} > RAMABLE_REGION - SECTION_DATA_PROLOGUE(.fsp_dtc_vector_table,(NOLOAD),) { /* If DTC is used, put the DTC vector table at the start of SRAM. diff --git a/soc/renesas/ra/ra6m1/sections.ld b/soc/renesas/ra/ra6m1/sections.ld index b850a64f643..8d31894fc38 100644 --- a/soc/renesas/ra/ra6m1/sections.ld +++ b/soc/renesas/ra/ra6m1/sections.ld @@ -4,14 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -.code_in_ram : -{ - . = ALIGN(4); - __Code_In_RAM_Start = .; - KEEP(*(.code_in_ram*)) - __Code_In_RAM_End = .; -} > RAMABLE_REGION - SECTION_DATA_PROLOGUE(.fsp_dtc_vector_table,(NOLOAD),) { /* If DTC is used, put the DTC vector table at the start of SRAM. diff --git a/soc/renesas/ra/ra6m2/sections.ld b/soc/renesas/ra/ra6m2/sections.ld index b850a64f643..8d31894fc38 100644 --- a/soc/renesas/ra/ra6m2/sections.ld +++ b/soc/renesas/ra/ra6m2/sections.ld @@ -4,14 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -.code_in_ram : -{ - . = ALIGN(4); - __Code_In_RAM_Start = .; - KEEP(*(.code_in_ram*)) - __Code_In_RAM_End = .; -} > RAMABLE_REGION - SECTION_DATA_PROLOGUE(.fsp_dtc_vector_table,(NOLOAD),) { /* If DTC is used, put the DTC vector table at the start of SRAM. diff --git a/soc/renesas/ra/ra6m3/sections.ld b/soc/renesas/ra/ra6m3/sections.ld index b850a64f643..8d31894fc38 100644 --- a/soc/renesas/ra/ra6m3/sections.ld +++ b/soc/renesas/ra/ra6m3/sections.ld @@ -4,14 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -.code_in_ram : -{ - . = ALIGN(4); - __Code_In_RAM_Start = .; - KEEP(*(.code_in_ram*)) - __Code_In_RAM_End = .; -} > RAMABLE_REGION - SECTION_DATA_PROLOGUE(.fsp_dtc_vector_table,(NOLOAD),) { /* If DTC is used, put the DTC vector table at the start of SRAM. diff --git a/soc/renesas/ra/ra6m4/sections.ld b/soc/renesas/ra/ra6m4/sections.ld index cfc81aeec00..1fe7db907a3 100644 --- a/soc/renesas/ra/ra6m4/sections.ld +++ b/soc/renesas/ra/ra6m4/sections.ld @@ -4,14 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -.code_in_ram : -{ - . = ALIGN(4); - __Code_In_RAM_Start = .; - KEEP(*(.code_in_ram*)) - __Code_In_RAM_End = .; -} > RAMABLE_REGION - SECTION_DATA_PROLOGUE(.fsp_dtc_vector_table,(NOLOAD),) { /* If DTC is used, put the DTC vector table at the start of SRAM. diff --git a/soc/renesas/ra/ra6m5/sections.ld b/soc/renesas/ra/ra6m5/sections.ld index cfc81aeec00..1fe7db907a3 100644 --- a/soc/renesas/ra/ra6m5/sections.ld +++ b/soc/renesas/ra/ra6m5/sections.ld @@ -4,14 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -.code_in_ram : -{ - . = ALIGN(4); - __Code_In_RAM_Start = .; - KEEP(*(.code_in_ram*)) - __Code_In_RAM_End = .; -} > RAMABLE_REGION - SECTION_DATA_PROLOGUE(.fsp_dtc_vector_table,(NOLOAD),) { /* If DTC is used, put the DTC vector table at the start of SRAM. diff --git a/soc/renesas/ra/ra8d1/sections.ld b/soc/renesas/ra/ra8d1/sections.ld index cfc81aeec00..1fe7db907a3 100644 --- a/soc/renesas/ra/ra8d1/sections.ld +++ b/soc/renesas/ra/ra8d1/sections.ld @@ -4,14 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -.code_in_ram : -{ - . = ALIGN(4); - __Code_In_RAM_Start = .; - KEEP(*(.code_in_ram*)) - __Code_In_RAM_End = .; -} > RAMABLE_REGION - SECTION_DATA_PROLOGUE(.fsp_dtc_vector_table,(NOLOAD),) { /* If DTC is used, put the DTC vector table at the start of SRAM. diff --git a/soc/renesas/ra/ra8m1/sections.ld b/soc/renesas/ra/ra8m1/sections.ld index cfc81aeec00..1fe7db907a3 100644 --- a/soc/renesas/ra/ra8m1/sections.ld +++ b/soc/renesas/ra/ra8m1/sections.ld @@ -4,14 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -.code_in_ram : -{ - . = ALIGN(4); - __Code_In_RAM_Start = .; - KEEP(*(.code_in_ram*)) - __Code_In_RAM_End = .; -} > RAMABLE_REGION - SECTION_DATA_PROLOGUE(.fsp_dtc_vector_table,(NOLOAD),) { /* If DTC is used, put the DTC vector table at the start of SRAM. diff --git a/soc/renesas/ra/ra8t1/sections.ld b/soc/renesas/ra/ra8t1/sections.ld index cfc81aeec00..1fe7db907a3 100644 --- a/soc/renesas/ra/ra8t1/sections.ld +++ b/soc/renesas/ra/ra8t1/sections.ld @@ -4,14 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -.code_in_ram : -{ - . = ALIGN(4); - __Code_In_RAM_Start = .; - KEEP(*(.code_in_ram*)) - __Code_In_RAM_End = .; -} > RAMABLE_REGION - SECTION_DATA_PROLOGUE(.fsp_dtc_vector_table,(NOLOAD),) { /* If DTC is used, put the DTC vector table at the start of SRAM.