Hello Oleksij,

On 28.09.23 12:58, Oleksij Rempel wrote:
> Update the partition definitions for SD card in imx8mp-skov to use
> single cell for address and size, streamlining the format.

Is your eMMC really smaller than 4G? If it's >= 4G, barebox will fix it up in
the kernel DT as 2/2 cells, so keeping it 2/2 in barebox removes some noise
in of_diff - + output.

Cheers,
Ahmad

> 
> Signed-off-by: Oleksij Rempel <[email protected]>
> ---
>  arch/arm/dts/imx8mp-skov.dts | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/arch/arm/dts/imx8mp-skov.dts b/arch/arm/dts/imx8mp-skov.dts
> index 1d4738dbd7..b94b9dd51d 100644
> --- a/arch/arm/dts/imx8mp-skov.dts
> +++ b/arch/arm/dts/imx8mp-skov.dts
> @@ -88,17 +88,17 @@ reg_usdhc2_vmmc: regulator-usdhc2 {
>  &usdhc2 {
>       partitions {
>               compatible = "fixed-partitions";
> -             #address-cells = <2>;
> -             #size-cells = <2>;
> +             #address-cells = <1>;
> +             #size-cells = <1>;
>  
>               partition@0 {
>                       label = "barebox";
> -                     reg = <0x0 0x0 0x0 0x100000>;
> +                     reg = <0x0 0x100000>;
>               };
>  
> -             env_sd: partition@e0000 {
> +             env_sd: partition@100000 {
>                       label = "barebox-environment";
> -                     reg = <0x0 0x100000 0x0 0x100000>;
> +                     reg = <0x100000 0x100000>;
>               };
>       };
>  };

-- 
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 |


Reply via email to