For suspend-to-RAM AKA hibernation.
Signed-off-by: Mikko Rapeli <[email protected]>
---
features/power/hibernation.cfg | 2 ++
features/power/hibernation.scc | 5 +++++
kern-features.rc | 5 +++--
3 files changed, 10 insertions(+), 2 deletions(-)
create mode 100644 features/power/hibernation.cfg
create mode 100644 features/power/hibernation.scc
diff --git a/features/power/hibernation.cfg b/features/power/hibernation.cfg
new file mode 100644
index 000000000000..8892a9167496
--- /dev/null
+++ b/features/power/hibernation.cfg
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: MIT
+CONFIG_HIBERNATION=y
diff --git a/features/power/hibernation.scc b/features/power/hibernation.scc
new file mode 100644
index 000000000000..8d8519e2ca5d
--- /dev/null
+++ b/features/power/hibernation.scc
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: MIT
+define KFEATURE_DESCRIPTION "Enable Hibernation (aka 'suspend to disk')"
+define KFEATURE_COMPATIBILITY board
+
+kconf non-hardware hibernation.cfg
diff --git a/kern-features.rc b/kern-features.rc
index ca90dee15a38..93fc7f1a243b 100644
--- a/kern-features.rc
+++ b/kern-features.rc
@@ -156,11 +156,12 @@
config = features/systemtap/systemtap.scc
config = features/intel-pmc/intel-pmc-core.scc
config = features/tsn/tsn.scc
+ config = features/power/arm.scc
config = features/power/bq25890.scc
- config = features/power/intel.scc
config = features/power/cpu_freq_stat.scc
+ config = features/power/hibernation.scc
+ config = features/power/intel.scc
config = features/power/intel_pmic.scc
- config = features/power/arm.scc
config = features/bluetooth/bluetooth-hw.scc
config = features/bluetooth/bluetooth-usb.scc
config = features/bluetooth/bluetooth-vhci.scc
--
2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16113):
https://lists.yoctoproject.org/g/linux-yocto/message/16113
Mute This Topic: https://lists.yoctoproject.org/mt/117176715/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-