Commit 264d8125 authored by Peter Bigot's avatar Peter Bigot Committed by Carles Cufi
Browse files

power: fix Kconfig defaults



Some SoCs try to select power management in a way that can bypass the
dependency on system clock.  Make the selection conditional on the
dependency.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent 19cb44ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ config SPI_XEC_QMSPI
if SOC_POWER_MANAGEMENT

config PM
	default y
	default y if SYS_CLOCK_EXISTS

config PM_SLEEP_STATES
	default y
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ config ARCH_HAS_CUSTOM_BUSY_WAIT
	default y

config PM
	default y
	default y if SYS_CLOCK_EXISTS

config BUILD_OUTPUT_HEX
	default y