Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport v3.7-branch] drivers: flash: flash_mcux_flexspi_nor: check all 3 bytes of JEDEC ID #82804

Open
wants to merge 1 commit into
base: v3.7-branch
Choose a base branch
from

Conversation

danieldegrasse
Copy link
Collaborator

@danieldegrasse danieldegrasse commented Dec 10, 2024

Backport c12030a from #82448.

Fixes #82437

The FlexSPI NOR driver should verify all 3 bytes of the JEDEC ID match
the expected value before attempting to use a custom LUT table with a
flash chip. This reduces the odds that an incompatible LUT will be used
with a flash chip, as some flash chips may share the same first byte of
their device ID but not be compatible with the custom LUT table.

Signed-off-by: Daniel DeGrasse <[email protected]>
@zephyrbot zephyrbot added platform: NXP Drivers NXP Semiconductors, drivers area: Flash labels Dec 10, 2024
@danieldegrasse danieldegrasse changed the title drivers: flash: flash_mcux_flexspi_nor: check all 3 bytes of JEDEC ID [Backport v3.7-branch] drivers: flash: flash_mcux_flexspi_nor: check all 3 bytes of JEDEC ID Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Flash platform: NXP Drivers NXP Semiconductors, drivers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants