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

add MTDIOCTL_PROGMEM_ERASESTATE support #4840

Merged
merged 1 commit into from
Nov 16, 2021

Conversation

tito97sp
Copy link
Contributor

Signed-off-by: Andres Sanchez [email protected]

Summary

Implementation of MTDIOC_ERASESTATE ioctl command for MTD progmem based devices.
Follows the criteria used in #4166

Impact

The change affects all the boards that implements PROGMEM devices. This feature can be isolated for each board by means of CONFIG_ARCH_HAVE_PROGMEM_ERASESTATE definition.

Testing

This feature is tested using nucleo-h743zi board

@Ouss4 Ouss4 linked an issue Nov 16, 2021 that may be closed by this pull request
Signed-off-by: Andres Sanchez <[email protected]>

solve style check errors.
@tito97sp tito97sp force-pushed the add_MTDIOCTL_PROGMEM_ERASESTATE branch from 8646219 to 552199d Compare November 16, 2021 15:58
@acassis acassis merged commit 064f6c8 into apache:master Nov 16, 2021
@jerpelea jerpelea added this to To-Add in Release Notes - 10.3.0 Mar 15, 2022
@jerpelea jerpelea moved this from To-Add to In Progress in Release Notes - 10.3.0 Mar 15, 2022
@jerpelea jerpelea moved this from In Progress to added in Release Notes - 10.3.0 Mar 23, 2022
@tito97sp tito97sp deleted the add_MTDIOCTL_PROGMEM_ERASESTATE branch May 26, 2022 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

How to add correctly progmem MTDIOC_ERASESTATE call
2 participants