zephyr/drivers/disk
Tomasz Moń c011646081 drivers: flashdisk: check partition constraints
Fail with error if any of flashdisk partition assumptions are not met:
  * uniform page size through the whole partition
  * flashdisk starts at page boundary
  * flashdisk ends at page boundary

Read-only flashdisks are not subject to above conditions because the
cache buffer is not used for read-only flashdisks.

The checks can be disabled via Kconfig option to save code space.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2022-11-14 16:37:04 +01:00
..
CMakeLists.txt drivers: disk: remove legacy SDMMC SPI driver 2022-04-29 14:21:36 -05:00
Kconfig
Kconfig.flash drivers: flashdisk: check partition constraints 2022-11-14 16:37:04 +01:00
Kconfig.ram
Kconfig.sdmmc drivers: disk: Default SDMMC Kconfig based on DT 2022-11-02 15:43:49 +09:00
flashdisk.c drivers: flashdisk: check partition constraints 2022-11-14 16:37:04 +01:00
ramdisk.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
sdmmc_sdhc.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
sdmmc_stm32.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
sdmmc_subsys.c drivers: disk: add SDMMC zephyr disk driver 2022-04-29 14:21:36 -05:00