diff options
Diffstat (limited to 'board/stm32l476g-eval')
-rw-r--r-- | board/stm32l476g-eval/board.c | 16 | ||||
-rw-r--r-- | board/stm32l476g-eval/board.h | 14 | ||||
-rw-r--r-- | board/stm32l476g-eval/build.mk | 2 | ||||
-rw-r--r-- | board/stm32l476g-eval/ec.tasklist | 2 | ||||
-rw-r--r-- | board/stm32l476g-eval/gpio.inc | 2 | ||||
-rw-r--r-- | board/stm32l476g-eval/openocd-flash.cfg | 2 |
6 files changed, 18 insertions, 20 deletions
diff --git a/board/stm32l476g-eval/board.c b/board/stm32l476g-eval/board.c index 70375abe95..e3f467ac50 100644 --- a/board/stm32l476g-eval/board.c +++ b/board/stm32l476g-eval/board.c @@ -1,4 +1,4 @@ -/* Copyright 2016 The Chromium OS Authors. All rights reserved. +/* Copyright 2016 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -32,14 +32,12 @@ void tick_event(void) DECLARE_HOOK(HOOK_TICK, tick_event, HOOK_PRIO_DEFAULT); #ifdef CTS_MODULE_I2C -const struct i2c_port_t i2c_ports[] = { - { - .name = "test", - .port = STM32_I2C2_PORT, - .kbps = 100, - .scl = GPIO_I2C2_SCL, - .sda = GPIO_I2C2_SDA - }, +const struct i2c_port_t i2c_ports[] = { + { .name = "test", + .port = STM32_I2C2_PORT, + .kbps = 100, + .scl = GPIO_I2C2_SCL, + .sda = GPIO_I2C2_SDA }, }; const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports); #endif diff --git a/board/stm32l476g-eval/board.h b/board/stm32l476g-eval/board.h index e8ce99845f..26ea530e4e 100644 --- a/board/stm32l476g-eval/board.h +++ b/board/stm32l476g-eval/board.h @@ -1,4 +1,4 @@ -/* Copyright 2016 The Chromium OS Authors. All rights reserved. +/* Copyright 2016 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -10,8 +10,8 @@ #ifdef CTS_MODULE /* CTS tests are small. We can use smaller size to expedite flash time. */ -#undef CONFIG_FLASH_SIZE_BYTES -#define CONFIG_FLASH_SIZE_BYTES 0x00040000 /* 256k */ +#undef CONFIG_FLASH_SIZE_BYTES +#define CONFIG_FLASH_SIZE_BYTES 0x00040000 /* 256k */ #endif /* Optional features */ @@ -54,18 +54,18 @@ #undef CONFIG_FLASH_PHYSICAL /* Timer selection */ -#define TIM_CLOCK32 5 +#define TIM_CLOCK32 5 /* External clock speeds (8 MHz) */ #define STM32_HSE_CLOCK 8000000 /* PLL configuration. Freq = STM32_HSE_CLOCK * n/m/r */ #undef STM32_PLLM -#define STM32_PLLM 1 +#define STM32_PLLM 1 #undef STM32_PLLN -#define STM32_PLLN 10 +#define STM32_PLLN 10 #undef STM32_PLLR -#define STM32_PLLR 2 +#define STM32_PLLR 2 #include "gpio_signal.h" diff --git a/board/stm32l476g-eval/build.mk b/board/stm32l476g-eval/build.mk index 23c7cd9d38..d453ea9979 100644 --- a/board/stm32l476g-eval/build.mk +++ b/board/stm32l476g-eval/build.mk @@ -1,5 +1,5 @@ # -*- makefile -*- -# Copyright 2016 The Chromium OS Authors. All rights reserved. +# Copyright 2016 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/stm32l476g-eval/ec.tasklist b/board/stm32l476g-eval/ec.tasklist index adfd7c7e92..f580a9d9e5 100644 --- a/board/stm32l476g-eval/ec.tasklist +++ b/board/stm32l476g-eval/ec.tasklist @@ -1,4 +1,4 @@ -/* Copyright 2016 The Chromium OS Authors. All rights reserved. +/* Copyright 2016 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/stm32l476g-eval/gpio.inc b/board/stm32l476g-eval/gpio.inc index 9cf5bc0aa4..e84543f8f6 100644 --- a/board/stm32l476g-eval/gpio.inc +++ b/board/stm32l476g-eval/gpio.inc @@ -1,6 +1,6 @@ /* -*- mode:c -*- * - * Copyright 2016 The Chromium OS Authors. All rights reserved. + * Copyright 2016 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/stm32l476g-eval/openocd-flash.cfg b/board/stm32l476g-eval/openocd-flash.cfg index a347f88b79..2f6a266d93 100644 --- a/board/stm32l476g-eval/openocd-flash.cfg +++ b/board/stm32l476g-eval/openocd-flash.cfg @@ -1,4 +1,4 @@ -# Copyright 2016 The Chromium OS Authors. All rights reserved. +# Copyright 2016 The ChromiumOS Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. |