Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: zynqmp: Add mtd partition for secure OS storage area

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/20dd23821118999c6fec2bad52ea446d1a66fefb.1683034376.git.michal.simek@amd.com

authored by

Amit Kumar Mahapatra and committed by
Michal Simek
5ac5794a 637902f7

+8 -4
+8 -4
arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
··· 83 83 84 84 &qspi { /* MIO 0-5 - U143 */ 85 85 status = "okay"; 86 - flash@0 { /* MT25QU512A */ 86 + spi_flash: flash@0 { /* MT25QU512A */ 87 87 compatible = "mt25qu512a", "jedec,spi-nor"; /* 64MB */ 88 88 #address-cells = <1>; 89 89 #size-cells = <1>; ··· 161 161 }; 162 162 partition@2240000 { 163 163 label = "SHA256"; 164 - reg = <0x2240000 0x10000>; /* 256B but 64KB sector */ 164 + reg = <0x2240000 0x40000>; /* 256B but 256KB sector */ 165 165 read-only; 166 166 lock; 167 167 }; 168 - partition@2250000 { 168 + partition@2280000 { 169 + label = "Secure OS Storage"; 170 + reg = <0x2280000 0x20000>; /* 128KB */ 171 + }; 172 + partition@22A0000 { 169 173 label = "User"; 170 - reg = <0x2250000 0x1db0000>; /* 29.5 MB */ 174 + reg = <0x22A0000 0x1d60000>; /* 29.375 MB */ 171 175 }; 172 176 }; 173 177 };