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

Kinsey Moore (@opticron) gitlab at rtems.org
Thu Oct 16 15:52:00 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_135051

 > + * 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);
 > +
 > +/*
 > + * @brief Struct allocating memory space for flash regions. Used by
 > + * rtems_flashdev to store region allocations.
 > + */
 > +typedef struct xqspi_flash_region_table {
 > +  rtems_flashdev_region xqspi_flash_regions[XQSPI_FLASH_MAX_REGIONS];
 > +  uint32_t xqspi_flash_bit_allocator;
 > +} xqspi_flash_region_table;

There is no reason for this to be exposed in the header file (and I should really submit a patch to fix this elsewhere).

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/804#note_135051
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/76f48803/attachment.htm>


More information about the bugs mailing list