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 v4.0-branch] drivers: flash: flash_mcux_flexspi_nor: check all 3 bytes of JEDEC ID #82675

Open
wants to merge 1 commit into
base: v4.0-branch
Choose a base branch
from

Conversation

zephyrbot
Copy link
Collaborator

@zephyrbot zephyrbot commented Dec 6, 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]>
(cherry picked from commit c12030a)
@zephyrbot zephyrbot added the Backport Backport PR and backport failure issues label Dec 6, 2024
@zephyrbot zephyrbot added platform: NXP Drivers NXP Semiconductors, drivers area: Flash labels Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Flash Backport Backport PR and backport failure issues platform: NXP Drivers NXP Semiconductors, drivers
Projects
Status: To do
Development

Successfully merging this pull request may close these issues.

4 participants