diff options
author | Jes B. Klinke <jbk@chromium.org> | 2023-02-17 14:03:24 -0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-02-17 23:35:13 +0000 |
commit | 2e22fa014469ff558aabf5016d8a9f540856ac17 (patch) | |
tree | 10e7da7c7e58fb65b67910054424655dad8d3f83 | |
parent | ccb519c2908100dfce949dd559c7d9ff3ab5dc9d (diff) | |
download | chrome-ec-2e22fa014469ff558aabf5016d8a9f540856ac17.tar.gz |
chip/stm32: Add warnings in stm32l4 files also used by L5
In several cases, the L4 and L5 series can use the same driver, which is
different from other STM32Lx chips.
This CL introduce a warning at the top of such files, alerting readers
to the fact that they are also used by L5 despite this not being
apparent from the file name.
BUG=b:269621551
TEST=none
Change-Id: I6edff6c0aea57ea9679729db20a292d75b4b8df0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4264176
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Commit-Queue: Jes Klinke <jbk@chromium.org>
Tested-by: Jes Klinke <jbk@chromium.org>
-rw-r--r-- | chip/stm32/adc-stm32l4.c | 2 | ||||
-rw-r--r-- | chip/stm32/i2c-stm32l4.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/chip/stm32/adc-stm32l4.c b/chip/stm32/adc-stm32l4.c index 7d769d8f7c..23a49e2908 100644 --- a/chip/stm32/adc-stm32l4.c +++ b/chip/stm32/adc-stm32l4.c @@ -3,6 +3,8 @@ * found in the LICENSE file. */ +/* ADC drivers for STM32L4xx as well as STM32L5xx. */ + #include "adc.h" #include "clock.h" #include "common.h" diff --git a/chip/stm32/i2c-stm32l4.c b/chip/stm32/i2c-stm32l4.c index bb24a8a50f..db0077c275 100644 --- a/chip/stm32/i2c-stm32l4.c +++ b/chip/stm32/i2c-stm32l4.c @@ -3,6 +3,8 @@ * found in the LICENSE file. */ +/* I2C drivers for STM32L4xx as well as STM32L5xx. */ + #include "builtin/assert.h" #include "chipset.h" #include "clock.h" |