soc: arm: nuvoton_npcx: remove SOC_POWER_MANAGEMENT
Remove a redundant symbol that was used as a proxy to enable CONFIG_PM and CONFIG_PM_DEVICE. If an application needs to enable PM, it should just enable PM subsystem Kconfig options. Furthermore, there's no clue "SOC_POWER_MANAGEMENT" is a NPCX specific option. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
056738514a
commit
57f0316785
5 changed files with 3 additions and 35 deletions
|
@ -50,4 +50,5 @@ CONFIG_CONSOLE=y
|
|||
CONFIG_UART_CONSOLE=y
|
||||
|
||||
# Power Management
|
||||
CONFIG_SOC_POWER_MANAGEMENT=y
|
||||
CONFIG_PM=y
|
||||
CONFIG_PM_DEVICE=y
|
||||
|
|
|
@ -48,6 +48,3 @@ CONFIG_I2C=y
|
|||
# Console Driver
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
|
||||
# Power Management
|
||||
#CONFIG_SOC_POWER_MANAGEMENT=y
|
||||
|
|
|
@ -183,19 +183,9 @@ endif # NPCX_HEADER
|
|||
# Select SoC Part No. and configuration options
|
||||
source "soc/arm/nuvoton_npcx/*/Kconfig.soc"
|
||||
|
||||
config SOC_POWER_MANAGEMENT
|
||||
bool "System Power Management in NPCX family"
|
||||
depends on SOC_FAMILY_NPCX
|
||||
help
|
||||
This option enables the board to implement SoC-specific power
|
||||
management policies whenever the kernel becomes idle. The power
|
||||
management subsystem will restore to the active state until an
|
||||
wake-up event is received no matter the system timer is expired or
|
||||
the other signals occurred such as GPIO, host access, and so on.
|
||||
|
||||
config SOC_POWER_MANAGEMENT_TRACE
|
||||
bool "Trace System Power Management in NPCX family"
|
||||
depends on SOC_POWER_MANAGEMENT
|
||||
depends on PM
|
||||
help
|
||||
Internal config to enable runtime power management traces.
|
||||
|
||||
|
|
|
@ -50,16 +50,6 @@ config TACH_NPCX
|
|||
default y
|
||||
depends on SENSOR
|
||||
|
||||
if SOC_POWER_MANAGEMENT
|
||||
|
||||
config PM
|
||||
default y if SYS_CLOCK_EXISTS
|
||||
|
||||
config PM_DEVICE
|
||||
default y
|
||||
|
||||
endif # SOC_POWER_MANAGEMENT
|
||||
|
||||
config SPI_NPCX_FIU
|
||||
default y
|
||||
depends on SPI
|
||||
|
|
|
@ -50,16 +50,6 @@ config TACH_NPCX
|
|||
default y
|
||||
depends on SENSOR
|
||||
|
||||
if SOC_POWER_MANAGEMENT
|
||||
|
||||
config PM
|
||||
default y if SYS_CLOCK_EXISTS
|
||||
|
||||
config PM_DEVICE
|
||||
default y
|
||||
|
||||
endif # SOC_POWER_MANAGEMENT
|
||||
|
||||
config SPI_NPCX_FIU
|
||||
default y
|
||||
depends on SPI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue