summaryrefslogtreecommitdiff
path: root/board/coffeecake
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 13:27:10 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-29 15:20:16 +0000
commit2641ecbd46731a78f48745a94646460baaa806da (patch)
tree6c1873f19bb5f8a523d2ad294058539a738b3cee /board/coffeecake
parentfedd0ff073796317d946eeed4529cb181400493c (diff)
downloadchrome-ec-2641ecbd46731a78f48745a94646460baaa806da.tar.gz
board/coffeecake/board.h: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: Iea88fab539bd6a4a539e4392e731c4a37766f3a3 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728151 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'board/coffeecake')
-rw-r--r--board/coffeecake/board.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/board/coffeecake/board.h b/board/coffeecake/board.h
index cabbb0bf4e..50c42a5a1e 100644
--- a/board/coffeecake/board.h
+++ b/board/coffeecake/board.h
@@ -50,7 +50,7 @@
#define CONFIG_USB_PD_IDENTITY_HW_VERS 1
#define CONFIG_USB_PD_IDENTITY_SW_VERS 1
#define CONFIG_USB_PD_LOGGING
-#undef CONFIG_EVENT_LOG_SIZE
+#undef CONFIG_EVENT_LOG_SIZE
#define CONFIG_EVENT_LOG_SIZE 256
#define CONFIG_USB_PD_CUSTOM_PDO
#define CONFIG_USB_PD_PORT_MAX_COUNT 1
@@ -80,7 +80,7 @@
/* Timer selection */
#define TIM_CLOCK32 2
-#define TIM_ADC 3
+#define TIM_ADC 3
#include "gpio_signal.h"
@@ -106,21 +106,21 @@ enum usb_strings {
};
/* 3.0A Rp */
-#define PD_SRC_VNC PD_SRC_3_0_VNC_MV
-#define PD_SRC_RD_THRESHOLD PD_SRC_3_0_RD_THRESH_MV
+#define PD_SRC_VNC PD_SRC_3_0_VNC_MV
+#define PD_SRC_RD_THRESHOLD PD_SRC_3_0_RD_THRESH_MV
/* delay necessary for the voltage transition on the power supply */
/* TODO (code.google.com/p/chrome-os-partner/issues/detail?id=37078)
* Need to measure these and adjust for honeybuns.
*/
-#define PD_POWER_SUPPLY_TURN_ON_DELAY 50000 /* us */
+#define PD_POWER_SUPPLY_TURN_ON_DELAY 50000 /* us */
#define PD_POWER_SUPPLY_TURN_OFF_DELAY 50000 /* us */
/* Define typical operating power and max power */
#define PD_OPERATING_POWER_MW 1000
-#define PD_MAX_POWER_MW 22500
-#define PD_MAX_CURRENT_MA 2500
-#define PD_MAX_VOLTAGE_MV 9000
+#define PD_MAX_POWER_MW 22500
+#define PD_MAX_CURRENT_MA 2500
+#define PD_MAX_VOLTAGE_MV 9000
/* Board interfaces */
void board_set_usb_output_voltage(int mv);
@@ -131,11 +131,11 @@ void board_set_usb_output_voltage(int mv);
#define USB_DEV_CLASS USB_CLASS_BILLBOARD
/* USB interface indexes (use define rather than enum to expand them) */
-#define USB_IFACE_COUNT 0
+#define USB_IFACE_COUNT 0
/* USB endpoint indexes (use define rather than enum to expand them) */
-#define USB_EP_CONTROL 0
-#define USB_EP_COUNT 1
+#define USB_EP_CONTROL 0
+#define USB_EP_COUNT 1
/* I2C ports */
#define I2C_PORT_SY21612 0