jlaitine opened a new pull request, #15714: URL: https://github.com/apache/nuttx/pull/15714
## Summary Refining MPFS DDR training error handling - Reset with WDT after completely failed training to avoid leaving "soft reset" status in the boot reason register - Avoid unnecessary resets after failed DDR training. In most cases it is enough to reset the controller and try again. The expected failures return -EAGAIN. But also the unexpected ones typically can be re-covered by just re-training. So always re-try the ddr training after a failure, but add a re-try counter counting only the unexpected errors, just as a backup. ## Impact Impacts only mpfs platform with (LP)DDR memory, with stand-alone booting images (i.e. without HSS & u-boot, using CONFIG_MPFS_BOOTLOADER and CONFIG_MPFS_DDR_INIT). Improves boot time by avoiding unnecessary reboots, if the DDR training results in multiple failures in row. ## Testing Tested on several custom mpfs hardware designs. -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org