[PATCH] arm64: zynqmp: Fix User MTD partition size

Michal Simek michal.simek at amd.com
Mon Apr 17 10:23:55 CEST 2023



On 4/12/23 16:30, Michal Simek wrote:
> The commit c8630167e0dc ("arm64: zynqmp: Add mtd partition for secure OS
> storage area") didn't update User partition size that's why size was beyond
> actual device size.
> 
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
>   arch/arm/dts/zynqmp-sm-k26-revA.dts | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/zynqmp-sm-k26-revA.dts b/arch/arm/dts/zynqmp-sm-k26-revA.dts
> index ed7504974194..f6ed047f3d9c 100644
> --- a/arch/arm/dts/zynqmp-sm-k26-revA.dts
> +++ b/arch/arm/dts/zynqmp-sm-k26-revA.dts
> @@ -224,7 +224,7 @@
>   			};
>   			partition at 22A0000 {
>   				label = "User";
> -				reg = <0x22A0000 0x1db0000>; /* 29.5 MB */
> +				reg = <0x22A0000 0x1d60000>; /* 29.375 MB */
>   			};
>   		};
>   	};


Applied.
M


More information about the U-Boot mailing list