From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Tomsich Date: Thu, 24 May 2018 17:15:51 +0200 Subject: [U-Boot] [PATCH v1 2/4] spl: document 'chosen/u-boot, spl-boot-device' In-Reply-To: <1527174954-21127-1-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1527174954-21127-1-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: <1527174954-21127-3-git-send-email-philipp.tomsich@theobroma-systems.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de To let the full U-Boot know where it was booted from (i.e. which of the entries in /chosen/u-boot,spl-boot-order' contained a valid image), we define (and document) /chosen/u-boot,spl-boot-device as the property that could/should automatically be injected by SPL. This commit only contains a documentation change, which documents the new property and the intended usage. Signed-off-by: Philipp Tomsich Tested-by: Klaus Goger --- doc/device-tree-bindings/chosen.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/device-tree-bindings/chosen.txt b/doc/device-tree-bindings/chosen.txt index c96b8f7..da7b4e6 100644 --- a/doc/device-tree-bindings/chosen.txt +++ b/doc/device-tree-bindings/chosen.txt @@ -73,3 +73,13 @@ Example u-boot,spl-boot-order = "same-as-spl", &sdmmc, "/sdhci at fe330000"; }; }; + +u-boot,spl-boot-device property +------------------------------- + +This property is a companion-property to the u-boot,spl-boot-order and +will be injected automatically by the SPL stage to notify a later stage +of where said later stage was booted from. + +You should not define this property yourself in the device-tree, as it +may be overwritten without warning. -- 2.1.4