summaryrefslogtreecommitdiff
path: root/board/zinger
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 14:13:49 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-01 15:03:14 +0000
commit5007adde845205b817896f67ceda6507e9e23165 (patch)
tree7300f27ea993e11a11b261698646016050573268 /board/zinger
parentf3ecca5564da30bc2276e029215af6ef78585fe5 (diff)
downloadchrome-ec-5007adde845205b817896f67ceda6507e9e23165.tar.gz
board/zinger/board.h: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: I10e33b4bbae38446f9da582f6abb1cac06a6b798 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729140 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'board/zinger')
-rw-r--r--board/zinger/board.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/board/zinger/board.h b/board/zinger/board.h
index 0be755eb5c..8d706af32f 100644
--- a/board/zinger/board.h
+++ b/board/zinger/board.h
@@ -41,7 +41,7 @@
#undef CONFIG_FLASH_PHYSICAL
#undef CONFIG_FMAP
/* Not using pstate but keep some space for the public key */
-#undef CONFIG_FW_PSTATE_SIZE
+#undef CONFIG_FW_PSTATE_SIZE
#define CONFIG_FW_PSTATE_SIZE 544
#define CONFIG_HIBERNATE
#define CONFIG_HIBERNATE_WAKEUP_PINS STM32_PWR_CSR_EWUP1
@@ -59,7 +59,7 @@
#undef CONFIG_USB_PD_DUAL_ROLE
#undef CONFIG_USB_PD_INTERNAL_COMP
#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_LOW_POWER_IDLE_WHEN_CONNECTED
#define CONFIG_USB_PD_PORT_MAX_COUNT 1
@@ -105,10 +105,11 @@ enum adc_channel {
#define ADC_CH_CC2_PD ADC_CH_CC1_PD
/* 3.0A Rp */
-#define PD_SRC_VNC (PD_SRC_3_0_VNC_MV * 4096 / 3300/* 12-bit ADC, 3.3V range */)
+#define PD_SRC_VNC \
+ (PD_SRC_3_0_VNC_MV * 4096 / 3300 /* 12-bit ADC, 3.3V range */)
/* delay necessary for the voltage transition on the power supply */
-#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 */
/* Initialize all useful registers */