summaryrefslogtreecommitdiff
path: root/include/compiler.h
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2021-03-19 16:14:22 -0600
committerCommit Bot <commit-bot@chromium.org>2021-03-24 20:19:49 +0000
commitdc76e389faf2442399c1d5bc3c69800767091fa1 (patch)
treeed2f8e5435cc9b79c01ad3413ff8828682edbceb /include/compiler.h
parentd3468b111247e43ffdc1855f1c07ad802f1c3cc2 (diff)
downloadchrome-ec-dc76e389faf2442399c1d5bc3c69800767091fa1.tar.gz
zephyr: Enable link time optimization for board files
Move the baseboard and board files into the zephyr_ec library to take advantage of the LTO compiler option enabled for the zephyr_ec library. On Volteer, this reduces the image size by 832 bytes. Total LTO saving is just over 10,000 bytes. BUG=none BRANCH=none TEST=zmake testall TEST=boot zephry-ec on Volteer, verify AP boots Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I2f3aa7f6c400a5b5cd1b346fcf52160b834e66a3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2776218 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'include/compiler.h')
0 files changed, 0 insertions, 0 deletions