[PATCH] documentation: devicetree: mtd: partition: fix partuuid example

Sascha Hauer sha at pengutronix.de
Thu Oct 27 02:02:25 PDT 2022


On Wed, Oct 19, 2022 at 11:11:22AM +0200, Ahmad Fatoum wrote:
> Having flash at 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 at 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 at 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 |



More information about the barebox mailing list