drivers: clock_control: Fix npcx leakage
Fixes an issue with Kconfig for this leaking into all devices where it should not be Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
parent
b680a6ec72
commit
cba1e34ef0
1 changed files with 4 additions and 1 deletions
|
|
@ -10,9 +10,10 @@ config CLOCK_CONTROL_NPCX
|
||||||
help
|
help
|
||||||
Enable support for NPCX clock controller driver.
|
Enable support for NPCX clock controller driver.
|
||||||
|
|
||||||
|
if CLOCK_CONTROL_NPCX
|
||||||
|
|
||||||
config CLOCK_CONTROL_NPCX_EXTERNAL_SRC
|
config CLOCK_CONTROL_NPCX_EXTERNAL_SRC
|
||||||
bool "Generate LFCLK by on-chip Crystal Oscillator"
|
bool "Generate LFCLK by on-chip Crystal Oscillator"
|
||||||
depends on CLOCK_CONTROL_NPCX
|
|
||||||
help
|
help
|
||||||
When this option is enabled, the internal 32.768 KHz clock (LFCLK)
|
When this option is enabled, the internal 32.768 KHz clock (LFCLK)
|
||||||
is generated by the on-chip Crystal Oscillator (XTOSC).
|
is generated by the on-chip Crystal Oscillator (XTOSC).
|
||||||
|
|
@ -30,3 +31,5 @@ config CLOCK_CONTROL_NPCX_SUPP_FIU1
|
||||||
default y if SOC_SERIES_NPCX4
|
default y if SOC_SERIES_NPCX4
|
||||||
help
|
help
|
||||||
Selected if NPCX series supports FIU1 bus.
|
Selected if NPCX series supports FIU1 bus.
|
||||||
|
|
||||||
|
endif # CLOCK_CONTROL_NPCX
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue