diff options
author | Yuval Peress <peress@chromium.org> | 2020-11-02 12:11:11 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-08 19:31:12 +0000 |
commit | c47740eca17a2fe652b7bb13f5b2949687884e79 (patch) | |
tree | e8efbfdac3fc0f01520e0997560f0095297d4b79 /common/build.mk | |
parent | 25ae7edffcceb662d5d2ebe92d19bf6f191d8bd5 (diff) | |
download | chrome-ec-c47740eca17a2fe652b7bb13f5b2949687884e79.tar.gz |
Zephyr: add more compliant implementation for irq_(un)lock
This change replaces the stubbed irq_(un)lock static functions
defined in task.h with new functions that behave more like the
Zephyr implementation of irq_(un)lock functions. This should
make the migration from interrupt_(dis|en)able to Zephyr more
seamless.
BRANCH=none
BUG=b:172060699
TEST=Added unit tests, make runtests -j, and built for various
boards: eve, volteer, arcada_ish, atlas, hatch, kohaku,
nocturne, samus, and scarlet
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: Ia7ad2b8d7d411a11699353bf5d3cc36a261fad14
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2511720
Diffstat (limited to 'common/build.mk')
-rw-r--r-- | common/build.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/build.mk b/common/build.mk index aec737d1f2..9b35f25642 100644 --- a/common/build.mk +++ b/common/build.mk @@ -10,7 +10,7 @@ _common_dir:=$(dir $(lastword $(MAKEFILE_LIST))) common-y=util.o -common-y+=version.o printf.o queue.o queue_policies.o +common-y+=version.o printf.o queue.o queue_policies.o irq_locking.o common-$(CONFIG_ACCELGYRO_BMI160)+=math_util.o common-$(CONFIG_ACCELGYRO_BMI260)+=math_util.o |