From aa5e3e22f4d648c09b6b63eac8eec8d7a2fc2994 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Wed, 7 Feb 2018 10:44:50 +0100 Subject: board: stm32: switch to DM STM32 timer Use available DM stm32_timer driver instead of dedicated mach-stm32/stm32fx/timer.c. Remove all defines or files previously used for timer usage in arch/arm/include/asm/arch-stm32fx and in arch/arm/mach-stm32/stm32fx Enable DM STM32_TIMER for STM32F4/F7 and H7. Signed-off-by: Patrice Chotard --- include/configs/stm32h743-disco.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/configs/stm32h743-disco.h') diff --git a/include/configs/stm32h743-disco.h b/include/configs/stm32h743-disco.h index aa2871d669..d6d35472ff 100644 --- a/include/configs/stm32h743-disco.h +++ b/include/configs/stm32h743-disco.h @@ -24,8 +24,7 @@ #define CONFIG_ENV_SIZE (8 << 10) -#define CONFIG_SYS_ARCH_TIMER -#define CONFIG_SYS_HZ_CLOCK 250000000 +#define CONFIG_SYS_HZ_CLOCK 1000000 #define CONFIG_CMDLINE_TAG #define CONFIG_SETUP_MEMORY_TAGS -- cgit