summaryrefslogtreecommitdiff
path: root/board/asurada/board.c
diff options
context:
space:
mode:
authorEric Yilun Lin <yllin@chromium.org>2020-11-11 11:32:35 +0800
committerCommit Bot <commit-bot@chromium.org>2020-11-11 06:12:38 +0000
commit9438922dc9332fed7b4e8cf7dc7d2345b00b7ba1 (patch)
tree21cb16208c69f84dc04e3837b022e61c28bd5fb3 /board/asurada/board.c
parent9faa2e488a366741aa87e8212822942caf64b087 (diff)
downloadchrome-ec-9438922dc9332fed7b4e8cf7dc7d2345b00b7ba1.tar.gz
asruada: use hayato image as asurada
Deprecate asurada image and use hayato image instead. Define BOARD_ASURADA_REV0 to get the old asurada image back. BUG=none TEST=make buildall -j BRANCH=none Change-Id: I10bc67bf36337158d30918e2b77070328b963f33 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2530816 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board/asurada/board.c')
-rw-r--r--board/asurada/board.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/asurada/board.c b/board/asurada/board.c
index f046734b2c..c03db32cb2 100644
--- a/board/asurada/board.c
+++ b/board/asurada/board.c
@@ -620,7 +620,7 @@ static struct mutex g_lid_mutex;
static struct bmi_drv_data_t g_bmi160_data;
static struct stprivate_data g_lis2dwl_data;
-#ifdef BOARD_ASURADA
+#ifdef BOARD_ASURADA_REV0
/* Matrix to rotate accelerometer into standard reference frame */
/* for rev 0 */
static const mat33_fp_t base_standard_ref_rev0 = {
@@ -690,7 +690,7 @@ static struct tcs3400_rgb_drv_data_t g_tcs3400_rgb_data = {
.saturation.again = TCS_DEFAULT_AGAIN,
.saturation.atime = TCS_DEFAULT_ATIME,
};
-#endif /* BOARD_ASURADA */
+#endif /* BOARD_ASURADA_REV0 */
struct motion_sensor_t motion_sensors[] = {
/*
@@ -770,7 +770,7 @@ struct motion_sensor_t motion_sensors[] = {
},
},
},
-#ifdef BOARD_ASURADA
+#ifdef BOARD_ASURADA_REV0
[CLEAR_ALS] = {
.name = "Clear Light",
.active_mask = SENSOR_ACTIVE_S0_S3,
@@ -806,6 +806,6 @@ struct motion_sensor_t motion_sensors[] = {
.min_frequency = 0,
.max_frequency = 0,
},
-#endif /* BOARD_ASURADA */
+#endif /* BOARD_ASURADA_REV0 */
};
const unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors);