Skip to content

Commit 3f2790b

Browse files
LaurentiuM1234nashif
authored andcommitted
soc: imx9: remove custom linker script
The custom linker script was required because SOF needed some extra linker sections. Other than that, the custom linker script was identical to the common architecture script. This commit removes the custom linker script because: * keeping the custom linker script in sync with the common one is troublesome. * application-specific linker sections shouldn't be included in the generic soc linker script. Instead, they should be handled at the application level (i.e: via cmake commands if additional sections are needed or via a new, custom linker script if more changes are needed) Signed-off-by: Laurentiu Mihalcea <[email protected]>
1 parent 4dc082d commit 3f2790b

File tree

2 files changed

+1
-367
lines changed

2 files changed

+1
-367
lines changed

soc/nxp/imx/imx9/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if(CONFIG_SOC_MIMX9352_A55)
66

77
zephyr_sources_ifdef(CONFIG_ARM_MMU a55/mmu_regions.c)
88

9-
set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/a55/linker.ld CACHE INTERNAL "")
9+
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm64/scripts/linker.ld CACHE INTERNAL "")
1010
elseif(CONFIG_SOC_MIMX9352_M33)
1111
zephyr_include_directories(.)
1212
zephyr_include_directories(m33)

soc/nxp/imx/imx9/a55/linker.ld

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

0 commit comments

Comments
 (0)