diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2018-12-05 12:56:22 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-12-06 08:41:33 +0100 |
commit | ea9fc47279f2778c794273e6b557408a8eb64405 (patch) | |
tree | 6daceb9a084c46f0ddd92a2bf0880ba934430220 /Documentation/devicetree | |
parent | a134704c91dfd353180c5dfc16114c40582a23c0 (diff) | |
download | barebox-ea9fc47279f2778c794273e6b557408a8eb64405.tar.gz barebox-ea9fc47279f2778c794273e6b557408a8eb64405.tar.xz |
documentation: document eMMC boot{0,1}-partitions binding
The described binding was implemented in commit 6e9a87b39
("mci: Allow to partition eMMC boot partitions").
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/mtd/partition.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/partition.txt b/Documentation/devicetree/bindings/mtd/partition.txt index ab21ff25bb..4288a82437 100644 --- a/Documentation/devicetree/bindings/mtd/partition.txt +++ b/Documentation/devicetree/bindings/mtd/partition.txt @@ -5,6 +5,11 @@ In addition to the upstream binding, another property is added: Optional properties: - partuuid : The partition UUID for this partition. +Additionally, barebox also supports partitioning the eMMC boot partitions if +the partition table node is named appropriately: +- partitions : user partition +- boot0-partitions : boot0 partition +- boot1-partitions : boot1 partition Examples: @@ -19,3 +24,16 @@ flash@0 { }; }; }; + +emmc@1 { + boot0-partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + barebox@0 { + label = "barebox"; + reg = <0x0 0x300000>; + }; + }; +}; |