arm64: zynqmp: Fix User MTD partition size
authorMichal Simek <michal.simek@amd.com>
Wed, 12 Apr 2023 14:30:27 +0000 (16:30 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 15 May 2023 07:33:57 +0000 (09:33 +0200)
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@amd.com>
Link: https://lore.kernel.org/r/0a56405553b87a75e066cd71697cafe7c1c97eef.1681309812.git.michal.simek@amd.com
arch/arm/dts/zynqmp-sm-k26-revA.dts

index ed75049..f6ed047 100644 (file)
                        };
                        partition@22A0000 {
                                label = "User";
-                               reg = <0x22A0000 0x1db0000>; /* 29.5 MB */
+                               reg = <0x22A0000 0x1d60000>; /* 29.375 MB */
                        };
                };
        };