soc/arm/silabs: bugfix - disable PMGR if no DEV_INIT
sl_power_manager can only be used if HAL services infrastructure is enabled, and that is controlled by SOC_GECKO_DEV_INIT kconfig option. Therefore, SOC_GECKO_PM_BACKEND_PMGR may not be enabled without SOC_GECKO_DEV_INIT. Signed-off-by: Roman Dobrodii <rdobrodii@antmicro.com>
This commit is contained in:
parent
dced627c28
commit
a2d9f6fcbe
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ if PM
|
||||||
|
|
||||||
config SOC_GECKO_PM_BACKEND_PMGR
|
config SOC_GECKO_PM_BACKEND_PMGR
|
||||||
bool
|
bool
|
||||||
|
depends on SOC_GECKO_DEV_INIT
|
||||||
default y if SOC_GECKO_SERIES2
|
default y if SOC_GECKO_SERIES2
|
||||||
help
|
help
|
||||||
Implement PM using sl_power_manager service from Gecko SDK
|
Implement PM using sl_power_manager service from Gecko SDK
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue