RTEMS | bsps/arm/xilinx-zynq: Add Xilinx XQspiPs driver (!804)

Kinsey Moore (@opticron) gitlab at rtems.org
Thu Oct 16 15:50:33 UTC 2025




Kinsey Moore started a new discussion on bsps/include/dev/spi/xqspips_flash.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/804#note_135050

 > + * @param[in] xQspiDev A initialised XQspiPs device to wrap.
 > + *
 > + * @retval A pointer to the rtems_flashdev.
 > + * @retval NULL on failure.
 > +*/
 > +rtems_flashdev *xqspi_flashdev_init(XQspiPs *xQspiDev);
 > +
 > +/*
 > + * @brief Destroys a rtems_flashdev initialised with xqspi_flash_init.
 > + * If an rtems_flashdev is created using xqspi_flash_init it must be
 > + * destroyed using xqspi_flash_destroy. The xqspiflash originally passed in
 > + * is untouched.
 > + *
 > + * @param[in] flash The flashdev to destroy
 > +*/
 > +void xqspi_flashdev_destroy(rtems_flashdev *flash);

Please look at the recent changes to the flashdev API. This function is no longer necessary due to destructor sequencing changes/corrections and should instead be reworked into the priv_destroy callback.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/804#note_135050
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20251016/b8876d1a/attachment-0001.htm>


More information about the bugs mailing list