summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-02-11 14:06:25 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-13 00:29:10 +0000
commitd5fb5036c7d565a0ea20e7913807df367d3f6b8e (patch)
tree0f15a7e86821afa520e498bd62a5bf0cbcf4bc47 /chip
parent0c0715bdadcd6aec298e52d1faf6b33e30769a5f (diff)
downloadchrome-ec-d5fb5036c7d565a0ea20e7913807df367d3f6b8e.tar.gz
zephyr: Add support for CONFIG_FPU
Allow this to be enabled for Zephyr. Since we are using the minimal C library we need to define our own version of a few functions. Add these for Cortex-M4, taken from the existing ECOS code. It happens that Zephyr uses CONFIG_FPU, the same as ECOS, so there is nothing needed in config_chip.h for this case. If CONFIG_FPU is enabled on a new platform, some work will be needed to make it build. BUG=b:180023514 BRANCH=none TEST=build zephyr volteer with CONFIG_NEWLIB_LIBC and see no warnings Build for volteer Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: I91187560b7e699b7f77ccfa5990617606f7fd6fa Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2691414 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'chip')
0 files changed, 0 insertions, 0 deletions