diff options
author | Dino Li <Dino.Li@ite.com.tw> | 2019-12-23 10:17:32 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-09-15 06:45:03 +0000 |
commit | b99fd2e38f0710d11f09e42ab35b7f0745c6912e (patch) | |
tree | 99c8f8e4d7f90dd7e83ceaef7486f1025451d948 /include/button.h | |
parent | 16176c70547ef9777cc04db3d201ccadf900639f (diff) | |
download | chrome-ec-b99fd2e38f0710d11f09e42ab35b7f0745c6912e.tar.gz |
core/nds32: remove unnecessary condition
In the previous implementation, we added conditions to prevent stack
overflow panic or memory get overwritten at first context switch.
Actually, we won't hit these two situation if scratchpad size is correct.
Let's remove them.
BUG=none
BRANCH=none
TEST=EC boots, and the "runtime" is saved in scratchpad at first context
switch.
Change-Id: I647e1ebb01dbb8fe24adc9f22b6581bb8f8f97fb
Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1980097
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'include/button.h')
0 files changed, 0 insertions, 0 deletions