board: Add CONFIG_ACCEL_FORCE_MODE_MASK for ALS when needed

Some board did not configured the ALS in force mode.
We were lucky that their data was collected while scanning other
sensors, but that's not true anymore since CL:959112

BUG=b:75533383
TEST=Compile
BRANCH=poppy

Change-Id: I4c6f744756a90dd9f2d142bb56826e91b806d5dd
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/969627
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
Gwendal Grignou
2018-03-19 14:27:32 -07:00
committed by chrome-bot
parent 0f32382760
commit 9304e2ac01

View File

@@ -264,6 +264,9 @@ void board_set_tcpc_power_mode(int port, int mode);
void base_detect_interrupt(enum gpio_signal signal);
/* Sensors without hardware FIFO are in forced mode */
#define CONFIG_ACCEL_FORCE_MODE_MASK ((1 << LID_ACCEL) | (1 << LID_ALS))
#endif /* !__ASSEMBLER__ */
#endif /* __CROS_EC_BOARD_H */