Lines Matching +full:erase +full:- +full:block +full:- +full:size
4 # SPDX-License-Identifier: Apache-2.0
23 Device does not do erase-on-write (erase-on-program, auto-erase
24 on write) and requires explicit erase procedure to be programmed
26 some other value, as program can only change bits from erased-value
28 All pure Flash devices are evolution of EEPROM where erase has
29 been separated from write, EEPROM has erase-on-write, giving
30 it advantage of higher write speeds at a cost of larger erase block.
31 Note that explicit-erase capability does not warrants that
32 write without erase is not allowed, taking the above restrictions,
34 erase.
35 Erase is usually performed in pages, as we have chosen to name
38 in size, depending how they are named by vendor.
42 optimized-out by compiler in case where there is no such device in
48 Device does not require explicit erase before programming
51 Note that the device may have erase-on-write (auto-erase),
52 as for example in EEPROM devices, but may also have no erase
54 A device driver may still provide erase callback,
55 especially if it is able to perform erase to accelerate
57 erase, with single value, faster than consecutive writes
58 that would be used to emulate erase.
62 such devices, and could be optimized-out by compiler in
79 Selected by drivers that support JESD216-compatible flash
104 write, read and erase.
109 bool "Flash read/write/erase test commands"
113 read/write/erase tests with speed output.
116 hex "Flash shell buffer size"
121 Size of the buffer used for flash commands, will determine the
122 maximum size that can be used with a read/write test.
127 int "Buffer size of flash_fill function"
130 Size of a buffer used by flash_fill function to fill a device with
132 The buffer is needed as most devices have write-block alignment
133 requirements that which imposes minimal size of data, which can
137 Value selected here should be a multiple of the largest write-block-size
156 non-standard operations e.g. manipulating flash protection.
166 # zephyr-keep-sorted-start
206 # zephyr-keep-sorted-stop
209 module-str = flash