boards: st: disco_l475_iot1: Rework flash partition
Rework flash partition to provide a storage partition and 2 image slots. Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
committed by
Benjamin Cabé
parent
cc4b384ad2
commit
ffcaabe84a
@@ -224,23 +224,18 @@
|
||||
|
||||
boot_partition: partition@0 {
|
||||
label = "mcuboot";
|
||||
reg = <0x00000000 DT_SIZE_K(64)>;
|
||||
reg = <0x0 DT_SIZE_K(64)>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
/*
|
||||
* The flash starting at offset 0x10000 and ending at
|
||||
* offset 0x1ffff is reserved for use by the application.
|
||||
*/
|
||||
|
||||
slot0_partition: partition@20000 {
|
||||
slot0_partition: partition@1000 {
|
||||
label = "image-0";
|
||||
reg = <0x00020000 DT_SIZE_K(864)>;
|
||||
reg = <0x1000 DT_SIZE_K(928)>;
|
||||
};
|
||||
|
||||
scratch_partition: partition@f8000 {
|
||||
label = "image-scratch";
|
||||
reg = <0x000F8000 DT_SIZE_K(16)>;
|
||||
storage_partition: partition@f8000 {
|
||||
label = "storage";
|
||||
reg = <0xf8000 DT_SIZE_K(32)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -343,8 +338,8 @@ zephyr_udc0: &usbotg_fs {
|
||||
reg = <0x00000000 DT_SIZE_K(864)>;
|
||||
};
|
||||
|
||||
storage_partition: partition@d8000 {
|
||||
label = "storage";
|
||||
slot2_partition: partition@d8000 {
|
||||
label = "image-3";
|
||||
reg = <0x000d8000 DT_SIZE_M(7)>;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user