summaryrefslogtreecommitdiff
path: root/board/nucleo-g431rb/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/nucleo-g431rb/board.h')
-rw-r--r--board/nucleo-g431rb/board.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/board/nucleo-g431rb/board.h b/board/nucleo-g431rb/board.h
index a65daa4364..905b4ea110 100644
--- a/board/nucleo-g431rb/board.h
+++ b/board/nucleo-g431rb/board.h
@@ -1,4 +1,4 @@
-/* Copyright 2020 The Chromium OS Authors. All rights reserved.
+/* Copyright 2020 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -14,14 +14,13 @@
#define CPU_CLOCK 48000000
#define CONFIG_STM_HWTIMER32
#define TIM_CLOCK32 2
-#define TIM_CLOCK_MSB 3
+#define TIM_CLOCK_MSB 3
#define TIM_CLOCK_LSB 15
#define TIM_WATCHDOG 7
/* Nucelo platform does not have a lid switch */
#undef CONFIG_LID_SWITCH
-
/* Setup UART console */
/*
* The STM32G431 Nucleo-64 has two UARTs which can be connected to the virtual
@@ -49,24 +48,20 @@
#define CONFIG_UART_TX_DMA_PH DMAMUX_REQ_USART1_TX
#endif
-
/*
* Macros for GPIO signals used in common code that don't match the
* schematic names. Signal names in gpio.inc match the schematic and are
* then redefined here to so it's more clear which signal is being used for
* which purpose.
*/
-#define GPIO_ENTERING_RW GPIO_EC_ENTERING_RW
-#define GPIO_WP_L GPIO_EC_WP_L
-
-
+#define GPIO_ENTERING_RW GPIO_EC_ENTERING_RW
+#define GPIO_WP_L GPIO_EC_WP_L
#ifndef __ASSEMBLER__
#include "gpio_signal.h"
#include "registers.h"
-
#endif /* !__ASSEMBLER__ */
#endif /* __CROS_EC_BOARD_H */