drivers: flash: spi_nor: support serial flash API

Expose the internal JESD216 function used to read data from the SFDP
region, and another function to read the JEDEC ID.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
This commit is contained in:
Peter A. Bigot 2020-06-03 19:57:27 -05:00 committed by Anas Nashif
commit 368cf2fc45
2 changed files with 24 additions and 1 deletions

View file

@ -25,6 +25,7 @@ config FLASH_JESD216
config FLASH_JESD216_API
bool "Provide API to read JESD216 flash parameters"
depends on FLASH_JESD216
help
This option extends the Zephyr flash API with the ability
to access the Serial Flash Discoverable Parameter section