aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorInochi Amaoto <inochiama@gmail.com>2024-11-11 10:27:34 +0800
committerAnup Patel <anup@brainfault.org>2024-11-11 17:48:45 +0530
commit5d4e3fb2ee03b9894d9cb03ddac0cda83d7ccc71 (patch)
treef1feca9fca5d9eba6219b73ae94b970f88b76b58 /docs
parentdcb68dd17d21c80cbd340610c7eb16c33e83bf20 (diff)
downloadopensbi-5d4e3fb2ee03b9894d9cb03ddac0cda83d7ccc71.zip
opensbi-5d4e3fb2ee03b9894d9cb03ddac0cda83d7ccc71.tar.gz
opensbi-5d4e3fb2ee03b9894d9cb03ddac0cda83d7ccc71.tar.bz2
platform: introduce DT-based configurable heap size
The default heap size will work for most platforms, but for some special platforms, the heap is too small to hold all the information or is too big so that it take too much ram. Introduce configurable heap should solve this problem and make all generic platforms happy. Add DT-based heap-size for the generic platform. Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Reviewed-by: Xiang W <wxjstz@126.com> Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'docs')
-rw-r--r--docs/opensbi_config.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/opensbi_config.md b/docs/opensbi_config.md
index 1b710f1..104d82c 100644
--- a/docs/opensbi_config.md
+++ b/docs/opensbi_config.md
@@ -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
harts are allowed to cold boot.
+* **heap-size** (Optional) - When present, the specified value is used
+ as the size of the heap in bytes.
+
* **system-suspend-test** (Optional) - When present, enable a system
suspend test implementation which simply waits five seconds and issues a WFI.
@@ -36,6 +39,7 @@ The OpenSBI Configuration Node will be deleted at the end of cold boot
opensbi-config {
compatible = "opensbi,config";
cold-boot-harts = <&cpu1 &cpu2 &cpu3 &cpu4>;
+ heap-size = <0x400000>;
system-suspend-test;
};
};