]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Add mtd partition for secure OS storage area
authorAmit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com>
Tue, 23 Aug 2022 08:18:03 +0000 (10:18 +0200)
committerMichal Simek <michal.simek@amd.com>
Tue, 13 Sep 2022 09:32:48 +0000 (11:32 +0200)
Update MTD partitions of Kria device trees to allocate 128KB of QSPI
memory for secure OS. Increased "SHA256" partition size & changed
starting address of "User" partition to accommodate the new partition
"Secure OS Storage"

Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/9cc64b8c731d11439de73d0af54c65080068f00b.1661242681.git.michal.simek@amd.com
arch/arm/dts/zynqmp-sm-k26-revA.dts

index ac349a9dcc5dc8227ff6a32c41cbf2f5cec5ff73..bae24aabdbd1d1f105baff5df7a4e58a98c7cae1 100644 (file)
                        };
                        partition@2240000 {
                                label = "SHA256";
-                               reg = <0x2240000 0x10000>; /* 256B but 64KB sector */
+                               reg = <0x2240000 0x40000>; /* 256B but 256KB sector */
                                read-only;
                                lock;
                        };
-                       partition@2250000 {
+                       partition@2280000 {
+                               label = "Secure OS Storage";
+                               reg = <0x2280000 0x20000>; /* 128KB */
+                       };
+                       partition@22A0000 {
                                label = "User";
-                               reg = <0x2250000 0x1db0000>; /* 29.5 MB */
+                               reg = <0x22A0000 0x1db0000>; /* 29.5 MB */
                        };
                };
        };