drivers: clock_control: stm32: rm Kconfig for APB2 prescaler on g0 serie

stm32g0 series does not have apb2 prescaler, reflect that in kconfig.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
This commit is contained in:
Thomas Stranger 2021-02-20 01:02:58 +01:00 committed by Carles Cufí
parent 64a4328ca0
commit 8397cae10e

View file

@ -161,7 +161,7 @@ config CLOCK_STM32_APB2_PRESCALER
int "APB2 prescaler"
default 1
range 1 16
depends on !SOC_SERIES_STM32F0X
depends on !SOC_SERIES_STM32F0X && !SOC_SERIES_STM32G0X
help
APB2 High speed clock (PCLK2) prescaler, allowed values:
1, 2, 4, 8, 16