summaryrefslogtreecommitdiff
path: root/chip/lm4/config.h
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2012-02-11 23:00:42 +0800
committerVic Yang <victoryang@chromium.org>2012-02-16 05:42:08 +0800
commit502613771e5239e5494f9f06ffecc6f61c711f1c (patch)
tree2ca74f36b00eb04534c149df17bd927e0cedefd8 /chip/lm4/config.h
parentc160dae1d45ea1a02e17b5de75e75a396b160627 (diff)
downloadchrome-ec-502613771e5239e5494f9f06ffecc6f61c711f1c.tar.gz
FPU control
Implement enable_fpu() and disable_fpu(). enable_fpu() disables interrupt and then enables FPU. disable_fpu() disables FPU and enables interrupt. Also added a CONFIG_FPU flag. BUG=chrome-os-partner:7920 TEST=none Change-Id: I2d71f396d9c7d7ac4a6a2d525f3d86f8aae87521 Signed-off-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'chip/lm4/config.h')
-rw-r--r--chip/lm4/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/lm4/config.h b/chip/lm4/config.h
index cf9b66c7f0..6c3bbddc6d 100644
--- a/chip/lm4/config.h
+++ b/chip/lm4/config.h
@@ -38,6 +38,7 @@
#define CONFIG_TEMP_SENSOR
#define CONFIG_CHARGER
#define CONFIG_LIGHTBAR
+#define CONFIG_FPU
/* Compile for running from RAM instead of flash */
/* #define COMPILE_FOR_RAM */