summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Meng <bmeng@tinylab.org>2023-02-24 07:28:27 +0300
committerAnup Patel <anup@brainfault.org>2023-02-27 11:20:27 +0300
commit17b3776c812921adcc527d542331b439b53c7b71 (patch)
treedaa5906d5d8028c6b6c2087dcc3949e87cf881ab
parentbc06ff65bf97172d11d6c898291fe1b98e177715 (diff)
downloadopensbi-17b3776c812921adcc527d542331b439b53c7b71.tar.xz
docs: domain_support: Update the DT example
commit 3e2f573e707e ("lib: utils: Disallow non-root domains from adding M-mode regions") added access permission check in __fdt_parse_region(). With the existing DT example in the doc OpenSBI won't boot anymore. Let's update the DT example so that it can work out of the box. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Anup Patel <anup@brainfault.org>
-rw-r--r--docs/domain_support.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/domain_support.md b/docs/domain_support.md
index 4ccbcff..2a9ca3d 100644
--- a/docs/domain_support.md
+++ b/docs/domain_support.md
@@ -254,7 +254,7 @@ be done:
tdomain: trusted-domain {
compatible = "opensbi,domain,instance";
possible-harts = <&cpu0>;
- regions = <&tmem 0x7>, <&tuart 0x7>;
+ regions = <&tmem 0x3f>, <&tuart 0x3f>;
boot-hart = <&cpu0>;
next-arg1 = <0x0 0x0>;
next-addr = <0x0 0x80100000>;
@@ -265,7 +265,7 @@ be done:
udomain: untrusted-domain {
compatible = "opensbi,domain,instance";
possible-harts = <&cpu1 &cpu2 &cpu3 &cpu4>;
- regions = <&tmem 0x0>, <&tuart 0x0>, <&allmem 0x7>;
+ regions = <&tmem 0x0>, <&tuart 0x0>, <&allmem 0x3f>;
};
};
};