summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-11-09 14:10:09 -0600
committerCommit Bot <commit-bot@chromium.org>2021-11-18 04:47:05 +0000
commit791c01f52e38a7a431fe2b68f83059869738d6f0 (patch)
tree85220baab7bcc9088670e27bfa52ece28d60e9a4 /core
parent87cf0b9308df7b3a78f264116b94c74ca22265f8 (diff)
downloadchrome-ec-791c01f52e38a7a431fe2b68f83059869738d6f0.tar.gz
Revert "mt_scp: Add support to store some code in DRAM"
This reverts commit d7579bd4589d08eeabf7c01f055b925acb7aed67. BUG=b:200823466 TEST=make buildall -j Change-Id: I442a932753e8a4745ac5002c165cf9309cb770ff Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3273369 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Diffstat (limited to 'core')
-rw-r--r--core/cortex-m/ec.lds.S11
1 files changed, 0 insertions, 11 deletions
diff --git a/core/cortex-m/ec.lds.S b/core/cortex-m/ec.lds.S
index b00c538552..ed7dafafd1 100644
--- a/core/cortex-m/ec.lds.S
+++ b/core/cortex-m/ec.lds.S
@@ -66,10 +66,6 @@ MEMORY
#undef REGION
#undef REGION_LOAD
#endif /* CONFIG_MEMORY_REGIONS */
-
-#ifdef CONFIG_DRAM_BASE
- DRAM (rwx) : ORIGIN = CONFIG_DRAM_BASE, LENGTH = CONFIG_DRAM_SIZE
-#endif
}
SECTIONS
@@ -474,13 +470,6 @@ SECTIONS
#undef REGION_LOAD
#endif /* CONFIG_CHIP_MEMORY_REGIONS */
-#ifdef CONFIG_DRAM_BASE
- .dram : {
- KEEP(*(SORT(.dram.keep.*)))
- *(SORT(.dram.*))
- } > DRAM
-#endif
-
#if !(defined(SECTION_IS_RO) && defined(CONFIG_FLASH))
/DISCARD/ : { *(.google) }
#endif