zephyr/drivers/flash
Andrzej Puzdrowski ce9f0b571e Drivers: flash: New API to obtain the flash layout
Added an internal function to obtain the flash page layout in
run-length encoded format. The API is simple and allows the actual
public API implementations to be simple and maintainable.
This feature can be enabled by using the FLASH_PAGE_LAYOUT Kconfig
option. This API is required for the implementation of flash file
system.

Added a public API to get flash page information (size and start offset)
by offset within the flash and by index of the page.
Added a generic implementation of the internal flash_get_page_info API.
Added an additional public API call to get the total count of pages in
the flash memory and its generic implementation.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2017-09-11 11:41:57 -04:00
..
flash_page_layout.c Drivers: flash: New API to obtain the flash layout 2017-09-11 11:41:57 -04:00
flash_stm32.c flash: stm32: distinguish read/write for flash range valid 2017-06-16 16:18:12 -04:00
flash_stm32.h flash: stm32: distinguish read/write for flash range valid 2017-06-16 16:18:12 -04:00
flash_stm32f3x_priv.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
flash_stm32f3x.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
flash_stm32f3x.h drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
flash_stm32f4x.c flash: stm32: distinguish read/write for flash range valid 2017-06-16 16:18:12 -04:00
flash_stm32l4x.c flash: stm32l4x: Cleanup use of C99 types 2017-06-22 13:47:28 -04:00
Kconfig Drivers: flash: New API to obtain the flash layout 2017-09-11 11:41:57 -04:00
Kconfig.stm32 flash: Rework and add flash device support for STM32L4x SoCs 2017-05-19 10:06:48 -04:00
Makefile Drivers: flash: New API to obtain the flash layout 2017-09-11 11:41:57 -04:00
soc_flash_mcux.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
soc_flash_nrf5.c drivers: flash: Fix write_op unaligned access 2017-08-17 10:54:37 -04:00
soc_flash_qmsi.c drivers, net: Clean up semaphore initialization 2017-07-27 15:23:07 -04:00
spi_flash_w25qxxdv_defs.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
spi_flash_w25qxxdv.c drivers, net: Clean up semaphore initialization 2017-07-27 15:23:07 -04:00
spi_flash_w25qxxdv.h drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00