zephyr/subsys/power
Meng xianglin 79df2b032d power: allow external definition of core devices
When try to enable CONFIG_DEVICE_POWER_MANAGEMENT for a board,
the #error directive in subsys/power/device.c requires that
"MAX_PM_DEVICE" and "core_devices[]" must be defined exactly in that
file, or a compile error will come up.
For flexibility, this patch move "PM_MAX_DEVICE" to Kconfig and define
a weak version of "z_mp_core_devices[]", so any board or SOC can define
these varibles in their own module.

Signed-off-by: Meng xianglin <xianglinx.meng@intel.com>
2020-09-09 21:21:45 -04:00
..
policy
CMakeLists.txt
device_pm.c
device.c power: allow external definition of core devices 2020-09-09 21:21:45 -04:00
Kconfig power: allow external definition of core devices 2020-09-09 21:21:45 -04:00
pm_ctrl.c
power.c
reboot.c