Skip to content

Commit 5a8d444

Browse files
soc: renesas: ra: Remove .code_in_ram section for Renesas RA SoC
Since the `.code_in_ram` section is not being used, we would like to remove it. Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
1 parent 44c0f93 commit 5a8d444

File tree

5 files changed

+2
-36
lines changed

5 files changed

+2
-36
lines changed

soc/renesas/ra/ra2a1/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Copyright (c) 2024 TOKITA Hiroshi
2+
# Copyright (c) 2025 Renesas Electronics Corporation
23
# SPDX-License-Identifier: Apache-2.0
34

45
zephyr_include_directories(.)
@@ -8,7 +9,6 @@ zephyr_sources(
89
)
910

1011
zephyr_linker_sources(SECTIONS sections.ld)
11-
zephyr_linker_sources(DATA_SECTIONS data_sections.ld)
1212
zephyr_linker_sources(RAM_SECTIONS ram_sections.ld)
1313
zephyr_linker_sources(ROM_START rom_start.ld)
1414

soc/renesas/ra/ra2a1/data_sections.ld

Lines changed: 0 additions & 13 deletions
This file was deleted.

soc/renesas/ra/ra4m1/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Copyright (c) 2023 TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
2+
# Copyright (c) 2025 Renesas Electronics Corporation
23
# SPDX-License-Identifier: Apache-2.0
34

45
zephyr_include_directories(.)
56

67
zephyr_library_sources(soc.c)
78

89
zephyr_linker_sources(SECTIONS sections.ld)
9-
zephyr_linker_sources(DATA_SECTIONS data_sections.ld)
1010
zephyr_linker_sources(RAM_SECTIONS ram_sections.ld)
1111
zephyr_linker_sources(ROM_START rom_start.ld)
1212

soc/renesas/ra/ra4m1/data_sections.ld

Lines changed: 0 additions & 13 deletions
This file was deleted.

soc/renesas/ra/ra4w1/sections.ld

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
.code_in_ram :
8-
{
9-
. = ALIGN(4);
10-
__Code_In_RAM_Start = .;
11-
KEEP(*(.code_in_ram*))
12-
__Code_In_RAM_End = .;
13-
} > RAMABLE_REGION
14-
157
SECTION_DATA_PROLOGUE(.fsp_dtc_vector_table,(NOLOAD),)
168
{
179
/* If DTC is used, put the DTC vector table at the start of SRAM.

0 commit comments

Comments
 (0)