From a220e2690feb83f65fc66345a7135a7f56480eee Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sun, 14 Oct 2018 09:41:03 -0400 Subject: [PATCH] Revert "arm: cypress/psoc6: add SoC specific linker input sections" This reverts commit 08c165f2b085579f46a86d395e63c7a3a1a0c8fb. Signed-off-by: Anas Nashif --- include/arch/arm/cortex_m/scripts/linker.ld | 2 -- soc/arm/cypress/psoc6/Kconfig.series | 2 -- soc/arm/cypress/psoc6/soc-noinit.ld | 16 ---------------- soc/arm/cypress/psoc6/soc-rwdata.ld | 6 ------ 4 files changed, 26 deletions(-) delete mode 100644 soc/arm/cypress/psoc6/soc-noinit.ld delete mode 100644 soc/arm/cypress/psoc6/soc-rwdata.ld diff --git a/include/arch/arm/cortex_m/scripts/linker.ld b/include/arch/arm/cortex_m/scripts/linker.ld index 67089c44c0c..90d8cca5e0e 100644 --- a/include/arch/arm/cortex_m/scripts/linker.ld +++ b/include/arch/arm/cortex_m/scripts/linker.ld @@ -114,8 +114,6 @@ SECTIONS KEEP(*(IRQ_VECTOR_TABLE)) - KEEP(*(.vectors)) - KEEP(*(.openocd_dbg)) KEEP(*(".openocd_dbg.*")) diff --git a/soc/arm/cypress/psoc6/Kconfig.series b/soc/arm/cypress/psoc6/Kconfig.series index aa1f820b425..73ee3b7f028 100644 --- a/soc/arm/cypress/psoc6/Kconfig.series +++ b/soc/arm/cypress/psoc6/Kconfig.series @@ -11,7 +11,5 @@ config SOC_SERIES_PSOC62 select SYS_POWER_LOW_POWER_STATE_SUPPORTED select CPU_HAS_SYSTICK select HAS_CYPRESS_DRIVERS - select SOC_NOINIT_LD - select SOC_RWDATA_LD help Enable support for Cypress PSoC6 MCU series diff --git a/soc/arm/cypress/psoc6/soc-noinit.ld b/soc/arm/cypress/psoc6/soc-noinit.ld deleted file mode 100644 index 8b22d4ed0e6..00000000000 --- a/soc/arm/cypress/psoc6/soc-noinit.ld +++ /dev/null @@ -1,16 +0,0 @@ - /* - * Extracted from: - * ext/hal/cypress/.../devices/psoc6/linker/gcc/cy8c6xx6_cm0plus.ld - * - * Size of sections are calculated in the startup scripts, - * so they don't have to be specified here. - */ - - . = ALIGN(8); - KEEP(*(.ram_vectors)) - - . = ALIGN(4); - KEEP(*(.heap)) - - . = ALIGN(4); - KEEP(*(.stack)) diff --git a/soc/arm/cypress/psoc6/soc-rwdata.ld b/soc/arm/cypress/psoc6/soc-rwdata.ld deleted file mode 100644 index 49169cdcdd9..00000000000 --- a/soc/arm/cypress/psoc6/soc-rwdata.ld +++ /dev/null @@ -1,6 +0,0 @@ - /* - * Extracted from: - * ext/hal/cypress/.../devices/psoc6/linker/gcc/cy8c6xx6_cm0plus.ld - */ - - KEEP(*(.cy_ramfunc))