zephyr/drivers/pwm/Kconfig.sifive
Ulf Magnusson 378d6b137a kconfig: Replace non-defconfig single-symbol 'if's with 'depends on'
Same deal as in commit eddd98f811 ("kconfig: Replace some single-symbol
'if's with 'depends on'"), for the remaining cases outside defconfig
files. See that commit for an explanation.

Will do the defconfigs separately in case there are any complaints
there.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-02-12 10:32:34 -06:00

19 lines
464 B
Plaintext

# 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_RISCV_SIFIVE_FREEDOM
depends on HAS_DTS
help
Enable the PWM driver for the SiFive Freedom platform
config PWM_SIFIVE_INIT_PRIORITY
int "Init Priority"
default KERNEL_INIT_PRIORITY_DEVICE
depends on PWM_SIFIVE
help
SiFive PWM Driver Initialization Priority