boards: stm32l5: remove unused STM32L5_BOARD_HCLK
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
This commit is contained in:
parent
ed3c73b307
commit
6c67b560b4
|
@ -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 */
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue