summaryrefslogtreecommitdiff
path: root/chip/lm4/config.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2012-10-30 12:16:54 -0700
committerGerrit <chrome-bot@google.com>2012-10-30 15:33:24 -0700
commit8b3a242ff0b8398b37378c67fe2c63beec1fa827 (patch)
treebb647b1ae48da03ccdb8efb290add7575145f691 /chip/lm4/config.h
parenta21ea56e76ff71849d45f59608c0beb7bede4c02 (diff)
downloadchrome-ec-8b3a242ff0b8398b37378c67fe2c63beec1fa827.tar.gz
Watchdog is reloaded by HOOK_TICK, not its own task
This reduces memory footprint. BUG=chrome-os-partner:15714 BRANCH=none TEST=system still boots; 'waitms 1500' prints watchdog error dump Change-Id: Ieb0248a34655514b03d919cc36c2b369691da716 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/36937 Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'chip/lm4/config.h')
-rw-r--r--chip/lm4/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/lm4/config.h b/chip/lm4/config.h
index aa40382b42..b82c74eae7 100644
--- a/chip/lm4/config.h
+++ b/chip/lm4/config.h
@@ -29,7 +29,6 @@
/* non-standard task stack sizes */
#define IDLE_TASK_STACK_SIZE 384
-#define WATCHDOG_TASK_STACK_SIZE 256
#define LARGER_TASK_STACK_SIZE 640
/* Default task stack size */
@@ -89,6 +88,7 @@
#define CONFIG_FLASH
#define CONFIG_FPU
#define CONFIG_I2C
+#define CONFIG_WATCHDOG
/* Compile for running from RAM instead of flash */
/* #define COMPILE_FOR_RAM */