summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2019-03-29 16:14:36 -0700
committerCommit Bot <commit-bot@chromium.org>2019-07-03 03:19:50 +0000
commitd2bee5b58542c40abbd66fde8e551823ed8cc64e (patch)
tree6abbbab54f6989925adc9e02098d4daa68319c94 /board
parent9981644854bcb9140c7249765d2f7bf59b23becd (diff)
downloadchrome-ec-d2bee5b58542c40abbd66fde8e551823ed8cc64e.tar.gz
hatch_fp: enable fp_sensor task
BRANCH=none BUG=b:124996507 TEST=fpcapture/fpsensor/fpenroll from the console work Change-Id: I6f481ed6b5185585aa01506e292b6b31e202a3b7 Signed-off-by: Tom Hughes <tomhughes@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1558938 Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/hatch_fp/board.h4
-rw-r--r--board/hatch_fp/ec.tasklist1
2 files changed, 2 insertions, 3 deletions
diff --git a/board/hatch_fp/board.h b/board/hatch_fp/board.h
index ff496dfb94..9829b6c4a1 100644
--- a/board/hatch_fp/board.h
+++ b/board/hatch_fp/board.h
@@ -113,11 +113,9 @@
#define CONFIG_SPI_MASTER
#define CONFIG_SPI_FP_PORT 0 /* SPI2: first master config */
#ifdef SECTION_IS_RW
-/* TODO(b/124773209): Enable FP once rollback code has been fixed */
-#if 0
#define CONFIG_FP_SENSOR_FPC1025
+/* TODO(b/130249462): remove for release */
#define CONFIG_CMD_FPSENSOR_DEBUG
-#endif
/*
* Use the malloc code only in the RW section (for the private library),
* we cannot enable it in RO since it is not compatible with the RW verification
diff --git a/board/hatch_fp/ec.tasklist b/board/hatch_fp/ec.tasklist
index fe33774e06..e8040bba5e 100644
--- a/board/hatch_fp/ec.tasklist
+++ b/board/hatch_fp/ec.tasklist
@@ -9,5 +9,6 @@
#define CONFIG_TASK_LIST \
TASK_ALWAYS_RO(RWSIG, rwsig_task, NULL, 1280) \
TASK_ALWAYS(HOOKS, hook_task, NULL, 1024) \
+ TASK_ALWAYS_RW(FPSENSOR, fp_task, NULL, 4096) \
TASK_ALWAYS(HOSTCMD, host_command_task, NULL, 4096) \
TASK_ALWAYS(CONSOLE, console_task, NULL, LARGER_TASK_STACK_SIZE)