summaryrefslogtreecommitdiff
path: root/core/cortex-m0/ec.lds.S
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2015-09-03 17:23:20 -0700
committerchrome-bot <chrome-bot@chromium.org>2015-09-08 10:38:21 -0700
commit15fcbc95967b79157dc892f547206f2a0967d2ff (patch)
tree612ab66f9e2ba9a59a44e721078e084f0b76e272 /core/cortex-m0/ec.lds.S
parent7bdb69c464e8056b77f3727411d02f5b5fe970b8 (diff)
downloadchrome-ec-15fcbc95967b79157dc892f547206f2a0967d2ff.tar.gz
Cleanup: Remove COMPILE_FOR_RAM option from linker scripts
This option was added way back in January 2012 for early EC bringup, and never used since. We can probably remove it. BUG=none BRANCH=none TEST=make buildall Change-Id: Idc8c3099388f2e28d620848a0e78b555b02fba9c Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/297334 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'core/cortex-m0/ec.lds.S')
-rw-r--r--core/cortex-m0/ec.lds.S12
1 files changed, 0 insertions, 12 deletions
diff --git a/core/cortex-m0/ec.lds.S b/core/cortex-m0/ec.lds.S
index 594fcfff50..8f3f382c98 100644
--- a/core/cortex-m0/ec.lds.S
+++ b/core/cortex-m0/ec.lds.S
@@ -55,11 +55,7 @@ SECTIONS
#endif
OUTDIR/core/CORE/init.o (.text)
*(.text*)
-#ifdef COMPILE_FOR_RAM
- } > IRAM
-#else
} > FLASH
-#endif
. = ALIGN(4);
.rodata : {
/* Symbols defined here are declared in link_defs.h */
@@ -167,11 +163,7 @@ SECTIONS
KEEP(*(.google))
#endif
. = ALIGN(4);
-#ifdef COMPILE_FOR_RAM
- } > IRAM
-#else
} > FLASH
-#endif
__ro_end = . ;
__deferred_funcs_count =
@@ -196,11 +188,7 @@ SECTIONS
. = ALIGN(4);
__bss_end = .;
} > IRAM
-#ifdef COMPILE_FOR_RAM
- .data : {
-#else
.data : AT(ADDR(.rodata) + SIZEOF(.rodata)) {
-#endif
. = ALIGN(4);
__data_start = .;
*(.data.tasks)