diff options
Diffstat (limited to 'board/drallion_ish')
-rw-r--r-- | board/drallion_ish/board.c | 10 | ||||
-rw-r--r-- | board/drallion_ish/board.h | 14 | ||||
-rw-r--r-- | board/drallion_ish/build.mk | 2 | ||||
-rw-r--r-- | board/drallion_ish/ec.tasklist | 2 | ||||
-rw-r--r-- | board/drallion_ish/gpio.inc | 2 |
5 files changed, 11 insertions, 19 deletions
diff --git a/board/drallion_ish/board.c b/board/drallion_ish/board.c index fba8a622a9..b23748b62d 100644 --- a/board/drallion_ish/board.c +++ b/board/drallion_ish/board.c @@ -1,4 +1,4 @@ -/* Copyright 2019 The Chromium OS Authors. All rights reserved. +/* Copyright 2019 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -43,11 +43,9 @@ static struct stprivate_data g_lis2dh_data; static struct lis2mdl_private_data lis2mdl_a_data; /* Matrix to rotate base sensor into standard reference frame */ -const mat33_fp_t base_rot_ref = { - { 0, FLOAT_TO_FP(1), 0}, - { FLOAT_TO_FP(-1), 0, 0}, - { 0, 0, FLOAT_TO_FP(1)} -}; +const mat33_fp_t base_rot_ref = { { 0, FLOAT_TO_FP(1), 0 }, + { FLOAT_TO_FP(-1), 0, 0 }, + { 0, 0, FLOAT_TO_FP(1) } }; /* Drivers */ struct motion_sensor_t motion_sensors[] = { diff --git a/board/drallion_ish/board.h b/board/drallion_ish/board.h index a14656e701..d87acc48c3 100644 --- a/board/drallion_ish/board.h +++ b/board/drallion_ish/board.h @@ -1,4 +1,4 @@ -/* Copyright 2019 The Chromium OS Authors. All rights reserved. +/* Copyright 2019 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -94,8 +94,8 @@ #define CONFIG_ISH_PM_D3 #define CONFIG_ISH_PM_RESET_PREP -#define CONFIG_ISH_D0I2_MIN_USEC (15*MSEC) -#define CONFIG_ISH_D0I3_MIN_USEC (100*MSEC) +#define CONFIG_ISH_D0I2_MIN_USEC (15 * MSEC) +#define CONFIG_ISH_D0I3_MIN_USEC (100 * MSEC) #ifndef __ASSEMBLER__ @@ -107,13 +107,7 @@ * Note: Since we aren't using LPC memory map to transmit sensor data, the * order of this enum does not need to be accel, accel, gyro */ -enum sensor_id { - LID_ACCEL, - LID_GYRO, - BASE_ACCEL, - LID_MAG, - SENSOR_COUNT -}; +enum sensor_id { LID_ACCEL, LID_GYRO, BASE_ACCEL, LID_MAG, SENSOR_COUNT }; #endif /* !__ASSEMBLER__ */ diff --git a/board/drallion_ish/build.mk b/board/drallion_ish/build.mk index 51bd96d339..50d4bf1042 100644 --- a/board/drallion_ish/build.mk +++ b/board/drallion_ish/build.mk @@ -1,5 +1,5 @@ # -*- makefile -*- -# Copyright 2019 The Chromium OS Authors. All rights reserved. +# Copyright 2019 The ChromiumOS Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # diff --git a/board/drallion_ish/ec.tasklist b/board/drallion_ish/ec.tasklist index a4db486e9a..de7d256324 100644 --- a/board/drallion_ish/ec.tasklist +++ b/board/drallion_ish/ec.tasklist @@ -1,4 +1,4 @@ -/* Copyright 2019 The Chromium OS Authors. All rights reserved. +/* Copyright 2019 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ diff --git a/board/drallion_ish/gpio.inc b/board/drallion_ish/gpio.inc index 93e6752e2b..b1c585b329 100644 --- a/board/drallion_ish/gpio.inc +++ b/board/drallion_ish/gpio.inc @@ -1,6 +1,6 @@ /* -*- mode:c -*- * - * Copyright 2019 The Chromium OS Authors. All rights reserved. + * Copyright 2019 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ |