diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2019-07-30 17:39:48 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-07-31 18:55:47 +0000 |
commit | b224441aaaa5dd08274811d65bb795b4abc231d8 (patch) | |
tree | 67a222ad5600dc362686c5e86195836a74bb4f53 /common/main.c | |
parent | 03ab9c1df5c16553b37288fea52911f7d8f62c38 (diff) | |
download | chrome-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 'common/main.c')
-rw-r--r-- | common/main.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/common/main.c b/common/main.c index 56c9eb762a..069b20dd17 100644 --- a/common/main.c +++ b/common/main.c @@ -39,15 +39,6 @@ test_mockable __keep int main(void) { -#ifdef CONFIG_REPLACE_LOADER_WITH_BSS_SLOW - /* - * Now that we have started execution, we no longer need the loader. - * Instead, variables placed in the .bss.slow section will use this - * space. Therefore, clear out this region now. - */ - memset((void *)(CONFIG_PROGRAM_MEMORY_BASE + CONFIG_LOADER_MEM_OFF), 0, - CONFIG_LOADER_SIZE); -#endif /* defined(CONFIG_REPLACE_LOADER_WITH_BSS_SLOW) */ /* * Pre-initialization (pre-verified boot) stage. Initialization at * this level should do as little as possible, because verified boot |