boards: efm32/efr32: Enlarge storage_partition for nvs sample
The nvs sample requires a storage_partition of 3 flash pages, but these boards only provided 2 flash pages. Because of this the nvs sample failed. Signed-off-by: Christian Taedcke <christian.taedcke@lemonbeat.com>
This commit is contained in:
parent
c15d27fb6d
commit
e6071b4bbb
@ -121,10 +121,10 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
/* Set 4Kb of storage at the end of the 1024Kb of flash */
|
||||
storage_partition: partition@ff000 {
|
||||
/* Set 6Kb of storage at the end of the 1024Kb of flash */
|
||||
storage_partition: partition@fe800 {
|
||||
label = "storage";
|
||||
reg = <0x000ff000 0x00001000>;
|
||||
reg = <0x000fe800 0x00001800>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
@ -90,10 +90,10 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
/* Set 4Kb of storage at the end of the 256Kb of flash */
|
||||
storage_partition: partition@3f000 {
|
||||
/* Set 6Kb of storage at the end of the 256Kb of flash */
|
||||
storage_partition: partition@3e800 {
|
||||
label = "storage";
|
||||
reg = <0x0003f000 0x00001000>;
|
||||
reg = <0x0003e800 0x00001800>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
@ -43,16 +43,16 @@
|
||||
reg = <0x0001f800 0x00017800>;
|
||||
};
|
||||
|
||||
/* Reserve 32 kB for the scratch partition */
|
||||
/* Reserve 30 kB for the scratch partition */
|
||||
scratch_partition: partition@37000 {
|
||||
label = "image-scratch";
|
||||
reg = <0x00037000 0x00008000>;
|
||||
reg = <0x00037000 0x00007800>;
|
||||
};
|
||||
|
||||
/* Set 4Kb of storage at the end of the 256Kb of flash */
|
||||
storage_partition: partition@3f000 {
|
||||
/* Set 6Kb of storage at the end of the 256Kb of flash */
|
||||
storage_partition: partition@3e800 {
|
||||
label = "storage";
|
||||
reg = <0x0003f000 0x00001000>;
|
||||
reg = <0x0003e800 0x00001800>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
@ -155,16 +155,16 @@
|
||||
reg = <0x0001f800 0x00017800>;
|
||||
};
|
||||
|
||||
/* Reserve 32 kB for the scratch partition */
|
||||
/* Reserve 30 kB for the scratch partition */
|
||||
scratch_partition: partition@37000 {
|
||||
label = "image-scratch";
|
||||
reg = <0x00037000 0x00008000>;
|
||||
reg = <0x00037000 0x00007800>;
|
||||
};
|
||||
|
||||
/* Set 4Kb of storage at the end of the 256Kb of flash */
|
||||
storage_partition: partition@3f000 {
|
||||
/* Set 6Kb of storage at the end of the 256Kb of flash */
|
||||
storage_partition: partition@3e800 {
|
||||
label = "storage";
|
||||
reg = <0x0003f000 0x00001000>;
|
||||
reg = <0x0003e800 0x00001800>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
@ -154,10 +154,10 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
/* Set 4Kb of storage at the end of the 1024Kb of flash */
|
||||
storage_partition: partition@ff000 {
|
||||
/* Set 6Kb of storage at the end of the 1024Kb of flash */
|
||||
storage_partition: partition@fe800 {
|
||||
label = "storage";
|
||||
reg = <0x000ff000 0x00001000>;
|
||||
reg = <0x000fe800 0x00001800>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user