doc: PORTING: drop flash_area_read_is_empty()

Update PORTING guide dropping `flash_area_read_is_empty`.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
This commit is contained in:
Fabio Utzig 2020-09-24 12:01:24 -03:00 committed by Fabio Utzig
parent 4b2e55f362
commit 05722f4a01
1 changed files with 0 additions and 5 deletions

View File

@ -119,11 +119,6 @@ int flash_area_erase(const struct flash_area *, uint32_t off, uint32_t len);
uint8_t flash_area_align(const struct flash_area *);
/*< What is value is read from erased flash bytes. */
uint8_t flash_area_erased_val(const struct flash_area *);
/*< Reads len bytes from off, and checks if the read data is erased. Returns
1 if empty (that is containing erased value), 0 if not-empty, and -1 on
failure. */
int flash_area_read_is_empty(const struct flash_area *fa, uint32_t off,
void *dst, uint32_t len);
/*< Given flash area ID, return info about sectors within the area. */
int flash_area_get_sectors(int fa_id, uint32_t *count,
struct flash_sector *sectors);