michallenc opened a new pull request, #20082:
URL: https://github.com/apache/nuttx/pull/20082

   ## Summary
   Commit 2a7cf05 (MR #19177) added support for QSPI control but removed 
functions gd25_purdid (leave power down state) and gd25_pd (enter power down). 
It's likely ok to avoid putting the device in power down state after every 
operation, but we need to wake it up from the power down state before first 
accessing it.
   
   Without the fix the flashes used with NuttX prior to 2a7cf05 commit don't 
work anymore as they are in power down state. The fix ensures we wake from this 
state during the initialization.
   
   Also fixes various coding style errors.
   
   ## Impact
   GD25 NOR flash works with upstream NuttX even if it was in power down mode.
   
   ## Testing
   Tested on custom board with GD25 connected over SPI. SmartFS now mounts 
successfully and there are no more errors returned from the initialization 
function.
   


-- 
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