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] NXP drivers: flash: soc_flash_mcux: remove CMD_MARGIN_CHECK #83603

Merged
merged 1 commit into from
Jan 18, 2025

Conversation

zephyrbot
Copy link
Collaborator

@zephyrbot zephyrbot commented Jan 6, 2025

Backport 88b9cb6 from #83472.

Fixes #83599

The CMD_BLANK_CHECK can return errors when the flash is readable, and
should only be used after programming, not in is_area_readable().  From
the LPC55S69 datasheet: "As cells age and lose charge, a correctly
programmed address will fail this check, while still being able to be
read successfully for the remaining duration of the data retention time."

Signed-off-by: Derek Snell <[email protected]>
(cherry picked from commit 88b9cb6)
@zephyrbot zephyrbot added the Backport Backport PR and backport failure issues label Jan 6, 2025
@zephyrbot zephyrbot requested a review from dleach02 as a code owner January 6, 2025 17:14
@zephyrbot zephyrbot added area: Flash platform: NXP Drivers NXP Semiconductors, drivers labels Jan 6, 2025
@mmahadevan108 mmahadevan108 merged commit 7d2ac02 into v4.0-branch Jan 18, 2025
29 of 30 checks passed
@mmahadevan108 mmahadevan108 deleted the backport-83472-to-v4.0-branch branch January 18, 2025 15:00
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: Done
Development

Successfully merging this pull request may close these issues.

5 participants