summaryrefslogtreecommitdiff
path: root/baseboard/octopus/baseboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'baseboard/octopus/baseboard.h')
-rw-r--r--baseboard/octopus/baseboard.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/baseboard/octopus/baseboard.h b/baseboard/octopus/baseboard.h
index 05494819ff..c78d3ee72d 100644
--- a/baseboard/octopus/baseboard.h
+++ b/baseboard/octopus/baseboard.h
@@ -270,6 +270,7 @@
#undef CONFIG_MOTION_SENSE_RESUME_DELAY_US
#define CONFIG_MOTION_SENSE_RESUME_DELAY_US (10 * MSEC)
+#ifndef VARIANT_OCTOPUS_NO_SENSORS
/*
* Interrupt and fifo are only used for base accelerometer
* and the lid sensor is polled real-time (in forced mode).
@@ -279,6 +280,7 @@
#define CONFIG_ACCEL_FIFO 256
/* Depends on how fast the AP boots and typical ODRs */
#define CONFIG_ACCEL_FIFO_THRES (CONFIG_ACCEL_FIFO / 3)
+#endif /* VARIANT_OCTOPUS_NO_SENSORS */
/*
* Sensor stack in EC/Kernel depends on a hardware interrupt pin from EC->AP, so