mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] documentation: document eMMC boot{0,1}-partitions binding
@ 2018-12-05 11:56 Ahmad Fatoum
  2018-12-06  7:41 ` [PATCH] documentation: document eMMC boot{0, 1}-partitions binding Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2018-12-05 11:56 UTC (permalink / raw)
  To: barebox

The described binding was implemented in commit 6e9a87b39
("mci: Allow to partition eMMC boot partitions").

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 .../devicetree/bindings/mtd/partition.txt      | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/Documentation/devicetree/bindings/mtd/partition.txt b/Documentation/devicetree/bindings/mtd/partition.txt
index ab21ff25bb11..4288a82437b4 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>;
+		};
+	};
+};
-- 
2.19.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] documentation: document eMMC boot{0, 1}-partitions binding
  2018-12-05 11:56 [PATCH] documentation: document eMMC boot{0,1}-partitions binding Ahmad Fatoum
@ 2018-12-06  7:41 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2018-12-06  7:41 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

On Wed, Dec 05, 2018 at 12:56:22PM +0100, Ahmad Fatoum wrote:
> The described binding was implemented in commit 6e9a87b39
> ("mci: Allow to partition eMMC boot partitions").
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
>  .../devicetree/bindings/mtd/partition.txt      | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
> 

Applied, thanks

Sascha

> diff --git a/Documentation/devicetree/bindings/mtd/partition.txt b/Documentation/devicetree/bindings/mtd/partition.txt
> index ab21ff25bb11..4288a82437b4 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>;
> +		};
> +	};
> +};
> -- 
> 2.19.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-06  7:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-05 11:56 [PATCH] documentation: document eMMC boot{0,1}-partitions binding Ahmad Fatoum
2018-12-06  7:41 ` [PATCH] documentation: document eMMC boot{0, 1}-partitions binding Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox