mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-07 23:32:41 +00:00
- Remove redundant dependencies on the PWM symbol (which show up as PWM && PWM in the documentation). The 'source's in drivers/pwm/Kconfig are already within an 'if PWM' block. - Turn some repeated 'depends on FOO' into 'if FOO' blocks. - Turn some 'if FOO's that surround a single symbol into 'depends on FOO'. 'if FOO' is equivalent to adding a 'depends on FOO' to each symbol within the 'if'. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
25 lines
502 B
Plaintext
25 lines
502 B
Plaintext
# Kconfig.sifive - SiFive Freedom PWM configuration options
|
|
#
|
|
#
|
|
# Copyright (c) 2018 SiFive Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig PWM_SIFIVE
|
|
bool "SiFive Freedom PWM driver"
|
|
depends on SOC_SERIES_RISCV32_SIFIVE_FREEDOM
|
|
depends on HAS_DTS
|
|
help
|
|
Enable the PWM driver for the SiFive Freedom platform
|
|
|
|
if PWM_SIFIVE
|
|
|
|
config PWM_SIFIVE_INIT_PRIORITY
|
|
int "Init Priority"
|
|
default KERNEL_INIT_PRIORITY_DEVICE
|
|
help
|
|
SiFive PWM Driver Initialization Priority
|
|
|
|
endif # PWM_SIFIVE
|