diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-10-30 12:16:54 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-10-30 15:33:24 -0700 |
commit | 8b3a242ff0b8398b37378c67fe2c63beec1fa827 (patch) | |
tree | bb647b1ae48da03ccdb8efb290add7575145f691 /test | |
parent | a21ea56e76ff71849d45f59608c0beb7bede4c02 (diff) | |
download | chrome-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 'test')
-rw-r--r-- | test/charging.tasklist | 2 | ||||
-rw-r--r-- | test/flash_overwrite.tasklist | 2 | ||||
-rw-r--r-- | test/flash_rw_erase.tasklist | 2 | ||||
-rw-r--r-- | test/hello.tasklist | 2 | ||||
-rw-r--r-- | test/kb_debounce.tasklist | 2 | ||||
-rw-r--r-- | test/kb_deghost.tasklist | 2 | ||||
-rw-r--r-- | test/mutex.tasklist | 2 | ||||
-rw-r--r-- | test/pingpong.tasklist | 2 | ||||
-rw-r--r-- | test/power_button.tasklist | 2 | ||||
-rw-r--r-- | test/powerdemo.tasklist | 1 | ||||
-rw-r--r-- | test/scancode.tasklist | 2 | ||||
-rw-r--r-- | test/thermal.tasklist | 2 | ||||
-rw-r--r-- | test/timer_calib.tasklist | 2 | ||||
-rw-r--r-- | test/timer_dos.tasklist | 2 | ||||
-rw-r--r-- | test/timer_jump.tasklist | 1 | ||||
-rw-r--r-- | test/typematic.tasklist | 2 |
16 files changed, 16 insertions, 14 deletions
diff --git a/test/charging.tasklist b/test/charging.tasklist index 1403653779..69af3bc38e 100644 --- a/test/charging.tasklist +++ b/test/charging.tasklist @@ -15,7 +15,7 @@ * 's' is the stack size in bytes; must be a multiple of 8 */ #define CONFIG_TASK_LIST \ - TASK(WATCHDOG, watchdog_task, NULL, TASK_STACK_SIZE) \ + TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ TASK(PWM, pwm_task, NULL, TASK_STACK_SIZE) \ TASK(TYPEMATIC, keyboard_typematic_task, NULL, TASK_STACK_SIZE) \ diff --git a/test/flash_overwrite.tasklist b/test/flash_overwrite.tasklist index df7abf767b..8ed7251437 100644 --- a/test/flash_overwrite.tasklist +++ b/test/flash_overwrite.tasklist @@ -15,7 +15,7 @@ * 's' is the stack size in bytes; must be a multiple of 8 */ #define CONFIG_TASK_LIST \ - TASK(WATCHDOG, watchdog_task, NULL, TASK_STACK_SIZE) \ + TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ TASK(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \ TASK(CONSOLE, console_task, NULL, TASK_STACK_SIZE) diff --git a/test/flash_rw_erase.tasklist b/test/flash_rw_erase.tasklist index 993b172aad..fc65eeb63a 100644 --- a/test/flash_rw_erase.tasklist +++ b/test/flash_rw_erase.tasklist @@ -15,7 +15,7 @@ * 's' is the stack size in bytes; must be a multiple of 8 */ #define CONFIG_TASK_LIST \ - TASK(WATCHDOG, watchdog_task, NULL, TASK_STACK_SIZE) \ + TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ TASK(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \ TASK(CONSOLE, console_task, NULL, TASK_STACK_SIZE) diff --git a/test/hello.tasklist b/test/hello.tasklist index 993b172aad..fc65eeb63a 100644 --- a/test/hello.tasklist +++ b/test/hello.tasklist @@ -15,7 +15,7 @@ * 's' is the stack size in bytes; must be a multiple of 8 */ #define CONFIG_TASK_LIST \ - TASK(WATCHDOG, watchdog_task, NULL, TASK_STACK_SIZE) \ + TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ TASK(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \ TASK(CONSOLE, console_task, NULL, TASK_STACK_SIZE) diff --git a/test/kb_debounce.tasklist b/test/kb_debounce.tasklist index ef03820794..6415d6c2dd 100644 --- a/test/kb_debounce.tasklist +++ b/test/kb_debounce.tasklist @@ -14,7 +14,7 @@ * 'd' in an opaque parameter passed to the routine at startup */ #define CONFIG_TASK_LIST \ - TASK(WATCHDOG, watchdog_task, NULL, TASK_STACK_SIZE) \ + TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ TASK(PWM, pwm_task, NULL, TASK_STACK_SIZE) \ TASK(TYPEMATIC, keyboard_typematic_task, NULL, TASK_STACK_SIZE) \ diff --git a/test/kb_deghost.tasklist b/test/kb_deghost.tasklist index 17df5b5b6a..2c531cc4d5 100644 --- a/test/kb_deghost.tasklist +++ b/test/kb_deghost.tasklist @@ -15,7 +15,7 @@ * 's' is the stack size in bytes; must be a multiple of 8 */ #define CONFIG_TASK_LIST \ - TASK(WATCHDOG, watchdog_task, NULL, TASK_STACK_SIZE) \ + TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ TASK(PWM, pwm_task, NULL, TASK_STACK_SIZE) \ TASK(TYPEMATIC, keyboard_typematic_task, NULL, TASK_STACK_SIZE) \ diff --git a/test/mutex.tasklist b/test/mutex.tasklist index 44bfe8b664..e27e9d385a 100644 --- a/test/mutex.tasklist +++ b/test/mutex.tasklist @@ -15,7 +15,7 @@ * 's' is the stack size in bytes; must be a multiple of 8 */ #define CONFIG_TASK_LIST \ - TASK(WATCHDOG, watchdog_task, NULL, TASK_STACK_SIZE) \ + TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ TASK(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \ TASK(CONSOLE, console_task, NULL, TASK_STACK_SIZE) \ diff --git a/test/pingpong.tasklist b/test/pingpong.tasklist index 91719a0cd3..ca28d23cd5 100644 --- a/test/pingpong.tasklist +++ b/test/pingpong.tasklist @@ -15,7 +15,7 @@ * 's' is the stack size in bytes; must be a multiple of 8 */ #define CONFIG_TASK_LIST \ - TASK(WATCHDOG, watchdog_task, NULL, TASK_STACK_SIZE) \ + TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ TASK(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \ TASK(CONSOLE, console_task, NULL, TASK_STACK_SIZE) \ diff --git a/test/power_button.tasklist b/test/power_button.tasklist index 3ecc53e638..b5144b72e2 100644 --- a/test/power_button.tasklist +++ b/test/power_button.tasklist @@ -15,7 +15,7 @@ * 's' is the stack size in bytes; must be a multiple of 8 */ #define CONFIG_TASK_LIST \ - TASK(WATCHDOG, watchdog_task, NULL, TASK_STACK_SIZE) \ + TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ TASK(PWM, pwm_task, NULL, TASK_STACK_SIZE) \ TASK(TYPEMATIC, keyboard_typematic_task, NULL, TASK_STACK_SIZE) \ diff --git a/test/powerdemo.tasklist b/test/powerdemo.tasklist index 27978e0b22..74ad0db736 100644 --- a/test/powerdemo.tasklist +++ b/test/powerdemo.tasklist @@ -15,5 +15,6 @@ * 's' is the stack size in bytes; must be a multiple of 8 */ #define CONFIG_TASK_LIST \ + TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ TASK(CONSOLE, console_task, NULL, TASK_STACK_SIZE) \ TASK(POWERDEMO, power_demo_task, NULL, TASK_STACK_SIZE) diff --git a/test/scancode.tasklist b/test/scancode.tasklist index 250bbbc721..9ddf62aa95 100644 --- a/test/scancode.tasklist +++ b/test/scancode.tasklist @@ -15,7 +15,7 @@ * 's' is the stack size in bytes; must be a multiple of 8 */ #define CONFIG_TASK_LIST \ - TASK(WATCHDOG, watchdog_task, NULL, TASK_STACK_SIZE) \ + TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ TASK(PWM, pwm_task, NULL, TASK_STACK_SIZE) \ TASK(TYPEMATIC, keyboard_typematic_task, NULL, TASK_STACK_SIZE) \ diff --git a/test/thermal.tasklist b/test/thermal.tasklist index 4037f3c773..e099a0fa7b 100644 --- a/test/thermal.tasklist +++ b/test/thermal.tasklist @@ -15,7 +15,7 @@ * 's' is the stack size in bytes; must be a multiple of 8 */ #define CONFIG_TASK_LIST \ - TASK(WATCHDOG, watchdog_task, NULL, TASK_STACK_SIZE) \ + TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ TASK(TEMPSENSOR, temp_sensor_task, NULL, TASK_STACK_SIZE) \ TASK(THERMAL, thermal_task, NULL, TASK_STACK_SIZE) \ diff --git a/test/timer_calib.tasklist b/test/timer_calib.tasklist index 31302767c2..00b31fb899 100644 --- a/test/timer_calib.tasklist +++ b/test/timer_calib.tasklist @@ -15,7 +15,7 @@ * 's' is the stack size in bytes; must be a multiple of 8 */ #define CONFIG_TASK_LIST \ - TASK(WATCHDOG, watchdog_task, NULL, TASK_STACK_SIZE) \ + TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ TASK(TESTTMR, timer_calib_task, (void *)'T', TASK_STACK_SIZE) \ TASK(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \ diff --git a/test/timer_dos.tasklist b/test/timer_dos.tasklist index 0ee84ced4f..82378ce6ec 100644 --- a/test/timer_dos.tasklist +++ b/test/timer_dos.tasklist @@ -15,7 +15,7 @@ * 's' is the stack size in bytes; must be a multiple of 8 */ #define CONFIG_TASK_LIST \ - TASK(WATCHDOG, watchdog_task, NULL, TASK_STACK_SIZE) \ + TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ TASK(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \ TASK(CONSOLE, console_task, NULL, TASK_STACK_SIZE) \ diff --git a/test/timer_jump.tasklist b/test/timer_jump.tasklist index 163bf93887..ccb6fe7a4c 100644 --- a/test/timer_jump.tasklist +++ b/test/timer_jump.tasklist @@ -15,6 +15,7 @@ * 's' is the stack size in bytes; must be a multiple of 8 */ #define CONFIG_TASK_LIST \ + TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ TASK(WATCHDOG, watchdog_task, NULL, TASK_STACK_SIZE) \ TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ TASK(CONSOLE, console_task, NULL, TASK_STACK_SIZE) \ diff --git a/test/typematic.tasklist b/test/typematic.tasklist index 17df5b5b6a..2c531cc4d5 100644 --- a/test/typematic.tasklist +++ b/test/typematic.tasklist @@ -15,7 +15,7 @@ * 's' is the stack size in bytes; must be a multiple of 8 */ #define CONFIG_TASK_LIST \ - TASK(WATCHDOG, watchdog_task, NULL, TASK_STACK_SIZE) \ + TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ TASK(PWM, pwm_task, NULL, TASK_STACK_SIZE) \ TASK(TYPEMATIC, keyboard_typematic_task, NULL, TASK_STACK_SIZE) \ |