diff options
author | Michał Barnaś <mb@semihalf.com> | 2021-08-09 17:54:36 +0200 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-25 17:26:29 +0000 |
commit | 6fc57405b6f9d38edf62824cd2d2fdae1f6e5bbf (patch) | |
tree | 945ef3d2a774799a2f71a4a0018eced9cd71a265 /chip | |
parent | d610bce3c3b08e0432f8008c1b4020b173f32e27 (diff) | |
download | chrome-ec-6fc57405b6f9d38edf62824cd2d2fdae1f6e5bbf.tar.gz |
common: move standard library functions from util.c to another file
This commit moves some of the standard library functions from util.c
file to util_stdlib.c file. It will allow to use util.c for both
CrOS EC and Zephyr builds and will make shim util file unnecessary.
BRANCH=main
BUG=b:177096231
TEST=Build both, CrOS EC and Zephyr firmwares
Compilation should finish without any problems
After flashing, both versions work as they should
Change-Id: If6f930a04d28bec35faa16759f43b36176bf3de7
Signed-off-by: Michał Barnaś <mb@semihalf.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3081827
Commit-Queue: Keith Short <keithshort@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r-- | chip/mchp/build.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/mchp/build.mk b/chip/mchp/build.mk index 262499f3e5..155fbf385f 100644 --- a/chip/mchp/build.mk +++ b/chip/mchp/build.mk @@ -81,7 +81,7 @@ chip-lfw-flat = $(out)/RW/$(chip-lfw)-lfw.flat # build these specifically for lfw with -lfw suffix objs_lfw = $(patsubst %, $(out)/RW/%-lfw.o, \ - $(addprefix common/, util gpio) \ + $(addprefix common/, util util_stdlib gpio) \ $(addprefix chip/$(CHIP)/, spi qmspi dma gpio clock hwtimer tfdp) \ core/$(CORE)/cpu $(chip-lfw)) |