zephyr/subsys/storage/flash_map
Jordan Yates 07fd28397e storage: flash_map: Fix partition device retrieval
Change the default behaviour of the flash partition choice when no
matching compatible is found. The new default is the grandparent node
of the fixed-partition.

As the grandparent node is what the jedec_spi_nor and nordic_qspi_nor
compatibles were selecting, remove these as separate checks.

This allows the flash_map API to be used for implementations of the
flash API other than the 3 originally specified (soc_nv_flash,
jedec_spi_nor & nordic_qspi_nor).

Fixes #26397

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2020-07-16 11:51:46 -05:00
..
CMakeLists.txt flash_map: add shell interface 2019-04-19 13:41:02 -05:00
flash_map.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
flash_map_default.c storage: flash_map: Fix partition device retrieval 2020-07-16 11:51:46 -05:00
flash_map_shell.c cleanup: include/: move flash_map.h to storage/flash_map.h 2019-06-27 22:55:49 -04:00
Kconfig kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00