mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
linux-raspberrypi_5.4.bb: Enable powersave options in kconfig
Will let system hibernate and suspend, its initial setup, there is more work needed to get it going fully without problems in userspace, which will follow Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
9f47df580e
commit
8d163dd844
13
recipes-kernel/linux/files/powersave.cfg
Normal file
13
recipes-kernel/linux/files/powersave.cfg
Normal file
|
@ -0,0 +1,13 @@
|
|||
CONFIG_SUSPEND=y
|
||||
CONFIG_SUSPEND_FREEZER=y
|
||||
CONFIG_HIBERNATE_CALLBACKS=y
|
||||
CONFIG_HIBERNATION=y
|
||||
CONFIG_PM_STD_PARTITION="/dev/mmcblk0p2"
|
||||
CONFIG_PM_SLEEP=y
|
||||
CONFIG_PM_SLEEP_SMP=y
|
||||
CONFIG_PM_AUTOSLEEP=y
|
||||
CONFIG_PM_WAKELOCKS=y
|
||||
CONFIG_PM_WAKELOCKS_LIMIT=100
|
||||
CONFIG_PM_WAKELOCKS_GC=y
|
||||
CONFIG_PM_GENERIC_DOMAINS_SLEEP=y
|
||||
CONFIG_ARCH_HIBERNATION_HEADER=y
|
|
@ -6,4 +6,5 @@ SRCREV = "5c08b6e79a8bfa1e59bb0004a1c94ed902a6d615"
|
|||
require linux-raspberrypi_5.4.inc
|
||||
|
||||
SRC_URI += "file://0001-perf-Make-perf-able-to-build-with-latest-libbfd.patch \
|
||||
file://powersave.cfg \
|
||||
"
|
||||
|
|
Loading…
Reference in New Issue
Block a user