[PATCH] dt-bindings: u-boot: Add variables for bootscript location
Michal Simek
michal.simek at amd.com
Thu May 11 16:33:19 CEST 2023
From: Algapally Santosh Sagar <santoshsagar.algapally at amd.com>
Add bootscr-address and offset-from-ram-start properties to help in easier
picking of boot script file when automated flows are used.
The bootscr-address holds the full 64 bit address of the bootscript
file.
The bootscr-offset-from-ram-start holds the offset address of the
bootscript file from the start of the ram base in systems with RAM
detection.
Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally at amd.com>
Signed-off-by: Michal Simek <michal.simek at amd.com>
---
The patch targets dtschema repository.
We would like to get opinion about option names before sending PR via
github.
---
dtschema/schemas/options/u-boot.yaml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/dtschema/schemas/options/u-boot.yaml b/dtschema/schemas/options/u-boot.yaml
index 71dfda71e4e2..565b54a424ae 100644
--- a/dtschema/schemas/options/u-boot.yaml
+++ b/dtschema/schemas/options/u-boot.yaml
@@ -71,6 +71,21 @@ properties:
2: use simplified command line (e.g. avoid hush)
3... reserved
+ bootscr-address:
+ $ref: types.yaml#/definitions/uint64
+ default: 0x0
+ description:
+ This property holds the full address of the boot script file. This helps in
+ making automated flows easier by fetching address directly from DT.
+
+ bootscr-offset-from-ram-start:
+ $ref: types.yaml#/definitions/uint64
+ default: 0x0
+ description:
+ This property holds the boot script file offset from start of the ram base
+ address. This helps in making automated flows easier by fetching address
+ directly from DT.
+
silent-console:
$ref: /schemas/types.yaml#/definitions/uint32
default: 0
@@ -101,6 +116,8 @@ examples:
bootcmd = "vboot go auto";
bootdelay-sec = <(-1)>;
bootsecure = <1>;
+ bootscr-address = <0x1000>;
+ bootscr-offset-from-ram-start = <0x2000>;
silent-console = <1>;
};
};
--
2.36.1
More information about the U-Boot
mailing list