mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-13 03:05:21 +00:00
Consistently use config FOO bool/int/hex/string "Prompt text" instead of config FOO bool/int/hex/string prompt "Prompt text" (...and a bunch of other variations that e.g. swapped the order of the type and the 'prompt', or put other properties between them). The shorthand is fully equivalent to using 'prompt'. It saves lines and avoids tricking people into thinking there is some semantic difference. Most of the grunt work was done by a modified version of https://unix.stackexchange.com/questions/26284/ how-can-i-use-sed-to-replace-a-multi-line-string/26290#26290, but some of the rarer variations had to be converted manually. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
45 lines
1.1 KiB
Plaintext
45 lines
1.1 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 CLOCK_CONTROL && SOC_SERIES_BEETLE
|
|
help
|
|
Enable PLL on Beetle.
|
|
|
|
Select n if not sure.
|
|
|
|
endif # SOC_FAMILY_ARM
|