jpaali commented on code in PR #17309:
URL: https://github.com/apache/nuttx/pull/17309#discussion_r2513604625
##########
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:
I'm open to another name. Any suggestions?
This was taken from Micron MT25QL512ABB datasheet:
> To reset the device, the RESET ENABLE command must be followed by the
RESET MEMORY
command. When the two commands are executed, **the device enters a power-on
reset con-
dition.** It is recommended to exit XIP mode before executing these two
commands.
All volatile lock bits, the volatile configuration register, the enhanced
volatile configura-
tion register, and the extended address register are reset to the power-on
reset default
condition according to nonvolatile configuration register settings.
--
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]