summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2021-10-05 23:27:27 +0000
committerCommit Bot <commit-bot@chromium.org>2021-10-06 20:00:42 +0000
commite88b7ee9aedbcf84dcb220db7244d6411e7f7318 (patch)
tree736bfe1f9cbc69eb200ca529550f4a2d7298590b /core
parent8951a455c689fe46f8ade669252dd00654def390 (diff)
downloadchrome-ec-e88b7ee9aedbcf84dcb220db7244d6411e7f7318.tar.gz
tree: Remove CONFIG_RO_HEAD_ROOM and CONFIG_RW_HEAD_ROOM
CONFIG_RO_HEAD_ROOM and CONFIG_RW_HEAD_ROOM are always defined as 0, so remove the values and associated code in order to simplify the code and improve readability. BRANCH=none BUG=b:172020503 TEST=./util/compare_build.sh -b all => MATCH Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: Ie11d23befda674cc15dda9a2d66b9c43ea22d49e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3205489 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'core')
-rw-r--r--core/cortex-m/ec.lds.S6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/cortex-m/ec.lds.S b/core/cortex-m/ec.lds.S
index fa35684e31..c5314111d0 100644
--- a/core/cortex-m/ec.lds.S
+++ b/core/cortex-m/ec.lds.S
@@ -145,12 +145,6 @@ SECTIONS
} > SHARED_LIB
#endif
.text : {
-#ifdef SECTION_IS_RO
- . = . + CONFIG_RO_HEAD_ROOM;
-#endif
-#ifdef SECTION_IS_RW
- . = . + CONFIG_RW_HEAD_ROOM;
-#endif
*(.text.vecttable)
. = ALIGN(4);
__image_data_offset = .;