Skip to content
Commit 07fd2839 authored by Jordan Yates's avatar Jordan Yates Committed by Maureen Helm
Browse files

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: default avatarJordan Yates <jordan.yates@data61.csiro.au>
parent 36707cdb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment