summaryrefslogtreecommitdiff
path: root/chip/stm32
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2022-01-13 14:03:03 -0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-11-11 02:07:07 +0000
commit192e0921442bdacd7b15e8bbcf2a2f37ad876a7f (patch)
treebc9d427cea191bf24df11f4dcb68609d055589eb /chip/stm32
parentd51ac2581392e0c27304b2aac01dbcca5b572d64 (diff)
downloadchrome-ec-192e0921442bdacd7b15e8bbcf2a2f37ad876a7f.tar.gz
tree: Remove CONFIG_STM_HWTIMER32
CONFIG_STM_HWTIMER32 was used to choose between a 32-bit timer and 16-bit timer. The 16-bit timer code was removed in https://crrev.com/c/3388064, so we no longer need this config. Command used: git grep --name-only CONFIG_STM_HWTIMER |\ xargs sed -i '/CONFIG_STM_HWTIMER32/d' BRANCH=none BUG=b:214423235 TEST=make buildall -j Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I89da8915cd5a467975cd8f90e734ea2b11f18cb3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3388065 Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com> Reviewed-by: Patryk Duda <patrykd@google.com>
Diffstat (limited to 'chip/stm32')
-rw-r--r--chip/stm32/build.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/chip/stm32/build.mk b/chip/stm32/build.mk
index 1fc14a15fa..72984eec5f 100644
--- a/chip/stm32/build.mk
+++ b/chip/stm32/build.mk
@@ -33,8 +33,6 @@ CORE:=cortex-m
CFLAGS_CPU+=-mcpu=cortex-m3
endif
-# Select between 16-bit and 32-bit timer for clock source
-TIMER_TYPE=$(if $(CONFIG_STM_HWTIMER32),32,)
DMA_TYPE=$(if $(CHIP_FAMILY_STM32F4)$(CHIP_FAMILY_STM32H7),-stm32f4,)
SPI_TYPE=$(if $(CHIP_FAMILY_STM32H7),-stm32h7,)
@@ -48,7 +46,7 @@ chip-$(CONFIG_FPU)+=fpu.o
chip-$(CONFIG_SPI)+=spi.o
chip-$(CONFIG_SPI_CONTROLLER)+=spi_controller$(SPI_TYPE).o
chip-$(CONFIG_COMMON_GPIO)+=gpio.o gpio-$(CHIP_FAMILY).o
-chip-$(CONFIG_COMMON_TIMER)+=hwtimer$(TIMER_TYPE).o
+chip-$(CONFIG_COMMON_TIMER)+=hwtimer32.o
chip-$(CONFIG_I2C)+=i2c-$(CHIP_FAMILY).o
chip-$(CONFIG_ITE_FLASH_SUPPORT)+=i2c_ite_flash_support.o
chip-$(CONFIG_STREAM_USART)+=usart.o usart-$(CHIP_FAMILY).o