docs: move documentation of system suspend test.

This patch move documentation of "system-suspend-test" from
docs/domain_support.md to docs/opensbi_config.md

Signed-off-by: Cheng Yang <yangcheng.work@foxmail.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Cheng Yang
2024-02-08 11:14:35 +08:00
committed by Anup Patel
parent 8df836d772
commit 46c8c6582d
2 changed files with 4 additions and 4 deletions

View File

@@ -126,9 +126,6 @@ The DT properties of a domain configuration DT node are as follows:
* **compatible** (Mandatory) - The compatible string of the domain * **compatible** (Mandatory) - The compatible string of the domain
configuration. This DT property should have value *"opensbi,domain,config"* configuration. This DT property should have value *"opensbi,domain,config"*
* **system-suspend-test** (Optional) - When present, enable a system
suspend test implementation which simply waits five seconds and issues a WFI.
### Domain Memory Region Node ### Domain Memory Region Node
The domain memory region DT node describes details of a memory region and The domain memory region DT node describes details of a memory region and
@@ -237,7 +234,6 @@ be done:
chosen { chosen {
opensbi-domains { opensbi-domains {
compatible = "opensbi,domain,config"; compatible = "opensbi,domain,config";
system-suspend-test;
tmem: tmem { tmem: tmem {
compatible = "opensbi,domain,memregion"; compatible = "opensbi,domain,memregion";

View File

@@ -23,6 +23,9 @@ The DT properties of a domain configuration DT node are as follows:
set of harts is permitted to perform a cold boot. Otherwise, all set of harts is permitted to perform a cold boot. Otherwise, all
harts are allowed to cold boot. harts are allowed to cold boot.
* **system-suspend-test** (Optional) - When present, enable a system
suspend test implementation which simply waits five seconds and issues a WFI.
The OpenSBI Configuration Node will be deleted at the end of cold boot The OpenSBI Configuration Node will be deleted at the end of cold boot
(replace the node (subtree) with nop tags). (replace the node (subtree) with nop tags).
@@ -33,6 +36,7 @@ The OpenSBI Configuration Node will be deleted at the end of cold boot
opensbi-config { opensbi-config {
compatible = "opensbi,config"; compatible = "opensbi,config";
cold-boot-harts = <&cpu1 &cpu2 &cpu3 &cpu4>; cold-boot-harts = <&cpu1 &cpu2 &cpu3 &cpu4>;
system-suspend-test;
}; };
}; };