mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] documentation: devicetree: mtd: partition: fix partuuid example
@ 2022-10-19  9:11 Ahmad Fatoum
  2022-10-27  9:02 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2022-10-19  9:11 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

Having flash@0 in the binding example is misleading, because lookup is
global. Point that out explicitly and modify the example.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
---
 Documentation/devicetree/bindings/mtd/partition.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/mtd/partition.rst b/Documentation/devicetree/bindings/mtd/partition.rst
index 6db54070a991..627b59eda04b 100644
--- a/Documentation/devicetree/bindings/mtd/partition.rst
+++ b/Documentation/devicetree/bindings/mtd/partition.rst
@@ -4,7 +4,7 @@ Representing flash partitions in devicetree
 In addition to the upstream binding, another property is added:
 
 Optional properties:
-- ``partuuid`` : The partition UUID for this partition.
+- ``partuuid`` : The global partition UUID for this partition.
 
 Additionally, barebox also supports partitioning the eMMC boot partitions if
 the partition table node is named appropriately:
@@ -16,7 +16,7 @@ Examples:
 
 .. code-block:: none
 
-  flash@0 {
+  / {
   	partitions {
   		compatible = "fixed-partitions";
   		#address-cells = <1>;
-- 
2.34.1




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

* Re: [PATCH] documentation: devicetree: mtd: partition: fix partuuid example
  2022-10-19  9:11 [PATCH] documentation: devicetree: mtd: partition: fix partuuid example Ahmad Fatoum
@ 2022-10-27  9:02 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2022-10-27  9:02 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

On Wed, Oct 19, 2022 at 11:11:22AM +0200, Ahmad Fatoum wrote:
> Having flash@0 in the binding example is misleading, because lookup is
> global. Point that out explicitly and modify the example.
> 
> Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
> ---
>  Documentation/devicetree/bindings/mtd/partition.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/Documentation/devicetree/bindings/mtd/partition.rst b/Documentation/devicetree/bindings/mtd/partition.rst
> index 6db54070a991..627b59eda04b 100644
> --- a/Documentation/devicetree/bindings/mtd/partition.rst
> +++ b/Documentation/devicetree/bindings/mtd/partition.rst
> @@ -4,7 +4,7 @@ Representing flash partitions in devicetree
>  In addition to the upstream binding, another property is added:
>  
>  Optional properties:
> -- ``partuuid`` : The partition UUID for this partition.
> +- ``partuuid`` : The global partition UUID for this partition.
>  
>  Additionally, barebox also supports partitioning the eMMC boot partitions if
>  the partition table node is named appropriately:
> @@ -16,7 +16,7 @@ Examples:
>  
>  .. code-block:: none
>  
> -  flash@0 {
> +  / {
>    	partitions {
>    		compatible = "fixed-partitions";
>    		#address-cells = <1>;
> -- 
> 2.34.1
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



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

end of thread, other threads:[~2022-10-27  9:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-19  9:11 [PATCH] documentation: devicetree: mtd: partition: fix partuuid example Ahmad Fatoum
2022-10-27  9:02 ` Sascha Hauer

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