diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2014-10-28 17:52:52 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-11-09 01:07:07 +0000 |
commit | 96a39e7ee73f7781f57b330bfd0be96d822366e6 (patch) | |
tree | 33eba330254609ce411703e89e883b64eef4ddd2 /chip/host | |
parent | bbe9a877ecc4f81fc17011b29a0d3bd13eac4540 (diff) | |
download | chrome-ec-96a39e7ee73f7781f57b330bfd0be96d822366e6.tar.gz |
math: use CONFIG_FPU when using float.
ifdef code than needs CONFIG_FPU (acos and friends)
BRANCH=ToT
BUG=chrome-os-partner:32050
TEST=define CONFIG_FPU on host board and use it.
Change-Id: I1c4ed16c23450bb4059d26044f4c1fe45b33674e
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/226414
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Reviewed-by: Sheng-liang Song <ssl@chromium.org>
Diffstat (limited to 'chip/host')
-rw-r--r-- | chip/host/config_chip.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chip/host/config_chip.h b/chip/host/config_chip.h index db61262ce2..a83fa778cf 100644 --- a/chip/host/config_chip.h +++ b/chip/host/config_chip.h @@ -21,6 +21,8 @@ extern char __host_flash[CONFIG_FLASH_PHYSICAL_SIZE]; #define CONFIG_RAM_BASE 0x0 /* Not supported */ #define CONFIG_RAM_SIZE 0x0 /* Not supported */ +#define CONFIG_FPU + /* Size of one firmware image in flash */ #define CONFIG_FW_IMAGE_SIZE (64 * 1024) |