File tree Expand file tree Collapse file tree 1 file changed +31
-3
lines changed
Expand file tree Collapse file tree 1 file changed +31
-3
lines changed Original file line number Diff line number Diff line change 210210 #address-cells = <1>;
211211 #size-cells = <1>;
212212
213- partition@0 {
214- label = "nor ";
215- reg = <0x00000000 DT_SIZE_M(16)>;
213+ slot0_partition: partition@0 {
214+ label = "image-0 ";
215+ reg = <0x00040000 DT_SIZE_M(16)>;
216216 };
217+
218+ slot1_partition: partition@1000000 {
219+ label = "image-1";
220+ reg = <0x00080000 DT_SIZE_M(16)>;
221+ };
222+
223+ scratch_partition: partition@2000000 {
224+ label = "image-scratch";
225+ reg = <0x000c0000 DT_SIZE_M(16)>;
226+ };
227+
228+ storage_partition: partition@3000000 {
229+ label = "storage";
230+ reg = <0x00020000 DT_SIZE_M(80)>;
231+ };
232+ };
233+ };
234+ };
235+
236+ &flash0 {
237+ partitions {
238+ compatible = "fixed-partitions";
239+ #address-cells = <1>;
240+ #size-cells = <1>;
241+
242+ boot_partition: partition@0 {
243+ label = "mcuboot";
244+ reg = <0 DT_SIZE_K(64)>;
217245 };
218246 };
219247};
You can’t perform that action at this time.
0 commit comments