mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-08 22:13:21 +00:00
These symbols appear within an 'if CLOCK_CONTROL' (in drivers/clock_control/Kconfig). 'if FOO' is just shorthand for adding 'depends on FOO' to each item within the 'if'. Dependencies on menus work similarly. There are no "conditional includes" in Kconfig, so 'if FOO' has no special meaning around a source. Conditional includes wouldn't be possible, because an if condition could include (directly or indirectly) forward references to symbols not defined yet. Tip: When adding a symbol, check its dependencies in the menuconfig ('ninja menuconfig', then / to jump to the symbol). The menuconfig also shows how the file with the symbol got included, so if you see duplicated dependencies, it's easy to hunt down where they come from. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
45 lines
1.0 KiB
Plaintext
45 lines
1.0 KiB
Plaintext
# Kconfig - Beetle MCU clock control driver config
|
|
#
|
|
#
|
|
# Copyright (c) 2016 Linaro Limited.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
if SOC_FAMILY_ARM
|
|
|
|
menuconfig CLOCK_CONTROL_BEETLE
|
|
bool "BEETLE Clock Control"
|
|
depends on SOC_SERIES_BEETLE
|
|
default y if SOC_SERIES_BEETLE
|
|
help
|
|
Enable driver for Reset & Clock Control subsystem found
|
|
in STM32F4 family of MCUs
|
|
|
|
config CLOCK_CONTROL_BEETLE_DEVICE_INIT_PRIORITY
|
|
int "Clock Control Device Priority"
|
|
default 1
|
|
depends on CLOCK_CONTROL_BEETLE
|
|
help
|
|
This option controls the priority of clock control
|
|
device initialization. Higher priority ensures that the device
|
|
is initialized earlier in the startup cycle. If unsure, leave
|
|
at default value 1
|
|
|
|
config ARM_CLOCK_CONTROL_DEV_NAME
|
|
string "Clock Config Device name"
|
|
default "CLOCK_CONTROL_0"
|
|
depends on CLOCK_CONTROL_BEETLE
|
|
help
|
|
Configure Clock Config Device name
|
|
|
|
config CLOCK_CONTROL_BEETLE_ENABLE_PLL
|
|
bool "Enable PLL on Beetle"
|
|
depends on SOC_SERIES_BEETLE
|
|
help
|
|
Enable PLL on Beetle.
|
|
|
|
Select n if not sure.
|
|
|
|
endif # SOC_FAMILY_ARM
|