Skip to contentSkip to conversation

doc: dtbinding: Add file system firmware loader binding document

PATCH New tien.fong.chee at intel.com 4 participants 5 messages Jul 6, 2018 – Sep 29, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v4 5/6 doc: dtbinding: Add file system firmware loader binding document

From: Tien Fong Chee <[email protected]>

Add a document to describe file system firmware loader binding information.

---
 doc/device-tree-bindings/chosen.txt         | 21 +++++++++++++
 doc/device-tree-bindings/misc/fs_loader.txt | 48 +++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)
 create mode 100644 doc/device-tree-bindings/misc/fs_loader.txt
doc/device-tree-bindings/chosen.txt +21 -0
index c96b8f7..dbce047 100644
@@ -73,3 +73,24 @@ Example
 		u-boot,spl-boot-order = "same-as-spl", &sdmmc, "/sdhci at fe330000";
 	};
 };
+
+firmware-loader property
+------------------------
+Multiple file system firmware loader nodes could be defined in device trees for
+multiple storage type and their default partition, then a property
+"firmware-loader" can be used to pass default firmware loader
+node(default storage type) to the firmware loader driver.
+
+Example
+-------
+/ {
+	chosen {
+		firmware-loader = &fs_loader0;
+	};
+
+	fs_loader0: fs-loader at 0 {
+		u-boot,dm-pre-reloc;
+		compatible = "u-boot,fs-loader";
+		phandlepart = <&mmc 1>;
+	};
+};
doc/device-tree-bindings/misc/fs_loader.txt new file +48 -0

48 lines not on this page · raw message

Signature · 1 line
2.2.0
#1 lore raw

PATCH v4 5/6 doc: dtbinding: Add file system firmware loader binding document

Quoted 11 lines · On 6 July 2018 at 02:27, <[email protected]> wrote:

From: Tien Fong Chee <[email protected]>

Add a document to describe file system firmware loader binding information.

---
 doc/device-tree-bindings/chosen.txt         | 21 +++++++++++++
 doc/device-tree-bindings/misc/fs_loader.txt | 48 +++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)
 create mode 100644 doc/device-tree-bindings/misc/fs_loader.txt

Apart from the naming of phandlepart, as I mentioned in the previous patch

#2 lore raw

PATCH v4 5/6 doc: dtbinding: Add file system firmware loader binding document

Quoted 14 lines · Simon Glass
Quoted 6 lines · On 6 July 2018 at 02:27,  <[email protected]> wrote:

From: Tien Fong Chee <[email protected]>

Add a document to describe file system firmware loader binding information.

Quoted 7 lines

---
 doc/device-tree-bindings/chosen.txt         | 21 +++++++++++++ doc/device-tree-bindings/misc/fs_loader.txt | 48
+++++++++++++++++++++++++++++

 2 files changed, 69 insertions(+)

 create mode 100644 doc/device-tree-bindings/misc/fs_loader.txt

Quoted 4 lines

Apart from the naming of phandlepart, as I mentioned in the previous patch

Noted.

#3 lore raw

PATCH v4 5/6 doc: dtbinding: Add file system firmware loader binding document

In reply to Simon Glass
Quoted 14 lines · Simon Glass
Quoted 6 lines · On 6 July 2018 at 02:27,  <[email protected]> wrote:

From: Tien Fong Chee <[email protected]>

Add a document to describe file system firmware loader binding information.

Quoted 7 lines

---
 doc/device-tree-bindings/chosen.txt         | 21 +++++++++++++ doc/device-tree-bindings/misc/fs_loader.txt | 48
+++++++++++++++++++++++++++++

 2 files changed, 69 insertions(+)

 create mode 100644 doc/device-tree-bindings/misc/fs_loader.txt

Quoted 4 lines

Apart from the naming of phandlepart, as I mentioned in the previous patch

Okay.

#4 lore raw

PATCH v4 5/6 doc: dtbinding: Add file system firmware loader binding document

In reply to tien.fong.chee at intel.com
Quoted 7 lines · tien.fong.chee at intel.com

From: Tien Fong Chee <[email protected]>

Add a document to describe file system firmware loader binding information.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180929/e9d5d576/attachment.sig>