[PATCH] schemas: chosen: Add 'boot-hart-id' property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Add 'boot-hart-id' property to allow user to specify preferred cold boot HART in OpenSBI for StarFive JH7110 platform.

Signed-off-by: Wei Liang Lim <weiliang.lim@xxxxxxxxxxxxxxxx>
Reviewed-by: Chee Hong Ang <cheehong.ang@xxxxxxxxxxxxxxxx>
Reviewed-by: Jun Liang Tan <junliang.tan@xxxxxxxxxxxxxxxx>
---
 dtschema/schemas/chosen.yaml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/dtschema/schemas/chosen.yaml b/dtschema/schemas/chosen.yaml
index 86194dd..f88feb5 100644
--- a/dtschema/schemas/chosen.yaml
+++ b/dtschema/schemas/chosen.yaml
@@ -31,6 +31,19 @@ properties:
 
   bootargs:
     $ref: types.yaml#/definitions/string
+    
+   boot-hart-id:
+    type: integer
+    description:
+      This property allows user to specify preferred cold boot HART in OpenSBI
+      for StarFive JH7110 platform. If unspecified, the existing lottery mechanism
+      will be used. e.g.
+      
+      /{
+              chosen {
+                      boot-hart-id = <1>;
+              };
+      };
 
   kaslr-seed:
     $ref: types.yaml#/definitions/uint64
-- 
2.25.1




[Index of Archives]     [Device Tree]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Photos]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]

  Powered by Linux