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

mtd: Add MTDIOC_ERASESTATE command for retrieving erase state value #4166

Merged
merged 5 commits into from
Jul 17, 2021

Conversation

gustavonihei
Copy link
Contributor

@gustavonihei gustavonihei commented Jul 16, 2021

Summary

This PR intends to add a new ioctl command to the MTD subsystem named MTDIOC_ERASESTATE for retrieving the byte value of an erased cell of the underlying memory device.

Also implemented the handling of the MTDIOC_ERASESTATE command for those drivers that already provide the byte value for their erase states.

Impact

New ioctl command to the MTD API.

Testing

Tested using esp32-wrover-kit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants