summaryrefslogtreecommitdiff
path: root/core/cortex-m/ec.lds.S
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2019-07-30 17:39:48 -0600
committerCommit Bot <commit-bot@chromium.org>2019-07-31 18:55:47 +0000
commitb224441aaaa5dd08274811d65bb795b4abc231d8 (patch)
tree67a222ad5600dc362686c5e86195836a74bb4f53 /core/cortex-m/ec.lds.S
parent03ab9c1df5c16553b37288fea52911f7d8f62c38 (diff)
downloadchrome-ec-b224441aaaa5dd08274811d65bb795b4abc231d8.tar.gz
cleanup: remove CONFIG_REPLACE_LOADER_WITH_BSS_SLOW
This option was only used with kunimitsu, which was removed from the EC codebase a long time ago. The EC code won't even compile with this option enabled anymore. Remove it! BUG=chromium:989301 BRANCH=none TEST=buildall Change-Id: I8ede226ec1e7b300ded6bb1769d82e142db1b0aa Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1727569 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'core/cortex-m/ec.lds.S')
-rw-r--r--core/cortex-m/ec.lds.S13
1 files changed, 0 insertions, 13 deletions
diff --git a/core/cortex-m/ec.lds.S b/core/cortex-m/ec.lds.S
index 402abfe39d..93eb70550b 100644
--- a/core/cortex-m/ec.lds.S
+++ b/core/cortex-m/ec.lds.S
@@ -50,11 +50,6 @@ MEMORY
IRAM (rw) : ORIGIN = CONFIG_RAM_BASE, LENGTH = CONFIG_RAM_SIZE
#ifdef CONFIG_EXTERNAL_STORAGE
-#ifdef CONFIG_REPLACE_LOADER_WITH_BSS_SLOW
- LDR_REGION(rw) : \
- ORIGIN = CONFIG_PROGRAM_MEMORY_BASE + CONFIG_LOADER_MEM_OFF, \
- LENGTH = CONFIG_LOADER_SIZE
-#endif /* defined(CONFIG_REPLACE_LOADER_WITH_BSS_SLOW) */
CDRAM (rx) : \
ORIGIN = CONFIG_PROGRAM_MEMORY_BASE + FW_MEM_OFF(SECTION), \
LENGTH = FW_SIZE(SECTION)
@@ -317,18 +312,11 @@ SECTIONS
. += (__deferred_funcs_end - __deferred_funcs) * (8 / 4);
__deferred_until_end = .;
-#ifdef CONFIG_REPLACE_LOADER_WITH_BSS_SLOW
- . = ALIGN(4);
- __bss_end = .;
-#endif /* defined(CONFIG_REPLACE_LOADER_WITH_BSS_SLOW) */
} > IRAM
.bss.slow : {
/* Region of RAM reclaimed from the little firmware(LFW). */
*(.bss.slow)
-#ifdef CONFIG_REPLACE_LOADER_WITH_BSS_SLOW
- } > LDR_REGION
-#else
/*
* Not replacing the loader, so .bss.slow is part of .bss. It needs to
* be followed by __bss_end so that .bss.slow will be zeroed by init.
@@ -336,7 +324,6 @@ SECTIONS
. = ALIGN(4);
__bss_end = .;
} > IRAM
-#endif /* defined(CONFIG_REPLACE_LOADER_WITH_BSS_SLOW) */
.data : {
. = ALIGN(4);