jpaali commented on code in PR #17309:
URL: https://github.com/apache/nuttx/pull/17309#discussion_r2513499396


##########
arch/arm64/src/imx9/imx9_flexspi_nor.c:
##########
@@ -974,6 +990,23 @@ static int imx9_flexspi_nor_ioctl(struct mtd_dev_s *dev,
 
         break;
 
+      case MTDIOC_RESETMEMORY:

Review Comment:
   BULKERASE erases data, RESETMEMORY just resets volatile register values to 
default values and does not affect to the actual data stored in the memory. 
MTDIOC_RESETMEMORY can be used e.g. to recover from erreneous state without 
losing data.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to