boards: stm32l5: remove unused STM32L5_BOARD_HCLK

Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
This commit is contained in:
Juha Niskanen 2021-06-09 16:07:14 +03:00 committed by Xiang Xiao
parent ed3c73b307
commit 6c67b560b4
2 changed files with 0 additions and 2 deletions

View File

@ -120,7 +120,6 @@
#define STM32L5_RCC_CFGR_HPRE RCC_CFGR_HPRE_SYSCLK /* HCLK = SYSCLK / 1 */ #define STM32L5_RCC_CFGR_HPRE RCC_CFGR_HPRE_SYSCLK /* HCLK = SYSCLK / 1 */
#define STM32L5_HCLK_FREQUENCY STM32L5_SYSCLK_FREQUENCY #define STM32L5_HCLK_FREQUENCY STM32L5_SYSCLK_FREQUENCY
#define STM32L5_BOARD_HCLK STM32L5_HCLK_FREQUENCY /* Same as above, to satisfy compiler */
/* Configure the APB1 prescaler */ /* Configure the APB1 prescaler */

View File

@ -72,7 +72,6 @@
#define STM32L5_SYSCLK_FREQUENCY 110000000ul #define STM32L5_SYSCLK_FREQUENCY 110000000ul
#define STM32L5_HCLK_FREQUENCY STM32L5_SYSCLK_FREQUENCY #define STM32L5_HCLK_FREQUENCY STM32L5_SYSCLK_FREQUENCY
#define STM32L5_BOARD_HCLK STM32L5_HCLK_FREQUENCY
#define STM32L5_PCLK1_FREQUENCY STM32L5_HCLK_FREQUENCY #define STM32L5_PCLK1_FREQUENCY STM32L5_HCLK_FREQUENCY
#define STM32L5_PCLK2_FREQUENCY (STM32L5_HCLK_FREQUENCY / 1) #define STM32L5_PCLK2_FREQUENCY (STM32L5_HCLK_FREQUENCY / 1)