Further into development of the ReRAM file system. I noticed that in generated DTS for nRF54L15 board for the ReRAM we have:
cpuapp_rram: rram@0 { compatible = "soc-nv-flash"; erase-block-size = < 0x1000 >; write-block-size = < 0x10 >; reg = < 0x0 0x165000 >; partitions { compatible = "fixed-partitions"; #address-cells = < 0x1 >; #size-cells = < 0x1 >; boot_partition: partition@0 { label = "mcuboot"; reg = < 0x0 0x10000 >; }; slot0_partition: partition@10000 { label = "image-0"; reg = < 0x10000 0x51000 >; }; slot0_ns_partition: partition@61000 { label = "image-0-nonsecure"; reg = < 0x61000 0x51000 >; }; slot1_partition: partition@b2000 { label = "image-1"; reg = < 0xb2000 0x51000 >; }; slot1_ns_partition: partition@103000 { label = "image-1-nonsecure"; reg = < 0x103000 0x51000 >; }; storage_partition: partition@15c000 { label = "storage"; reg = < 0x15c000 0x9000 >; }; }; };
What is the reason for providing erase-block-size to the 0x1000 value while the memory does not require erasing? I would expect it to be rather set to the same value like write-block-size. It provides now this value via page layout related functions.