openwrt/target/linux/starfive/patches-6.6/0108-riscv-configs-visionfive2-Add-standard-partition-for.patch

24 lines
773 B
Diff
Raw Normal View History

From 49b818cdd08fca7ff761277635c0e5ab659becb8 Mon Sep 17 00:00:00 2001
From: Hal Feng <hal.feng@starfivetech.com>
Date: Thu, 21 Mar 2024 16:53:51 +0800
Subject: [PATCH 108/116] riscv: configs: visionfive2: Add standard partition
for hibernation
Add CONFIG_PM_STD_PARTITION="PARTLABEL=hibernation".
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
---
arch/riscv/configs/starfive_visionfive2_defconfig | 1 +
1 file changed, 1 insertion(+)
--- a/arch/riscv/configs/starfive_visionfive2_defconfig
+++ b/arch/riscv/configs/starfive_visionfive2_defconfig
@@ -24,6 +24,7 @@ CONFIG_NONPORTABLE=y
CONFIG_SMP=y
CONFIG_HZ_100=y
CONFIG_HIBERNATION=y
+CONFIG_PM_STD_PARTITION="PARTLABEL=hibernation"
CONFIG_PM_DEBUG=y
CONFIG_PM_ADVANCED_DEBUG=y
CONFIG_PM_TEST_SUSPEND=y