RTEMS | bsps/xilinx-zynq: Add QSPI flash driver (!295)

Aaron Nyholm (@eagleirony) gitlab at rtems.org
Thu Nov 7 04:43:32 UTC 2024




Aaron Nyholm commented on a discussion on bsps/arm/xilinx-zynq/dev/spi/zynq-qspi-flash-transfer.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/295#note_114456

 > +            rx_length -= sizeof(uint32_t);
 > +          else
 > +            rx_length = 0;
 > +          if (sending > sizeof(uint32_t))
 > +            sending -= sizeof(uint32_t);
 > +          else
 > +            sending = 0;
 > +        }
 > +
 > +        sr = qspi_reg_read(ZQSPI_QSPI_REG_INTR_STATUS);
 > +      }
 > +    }
 > +
 > +    if (tx_length) {
 > +      start = false;
 > +      while (tx_length && ((sr & ZQSPI_QSPI_IXR_TXFULL) == 0)) {

Updated. Now uses interrupts.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/295#note_114456
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/20241107/a1ce9809/attachment-0001.htm>


More information about the bugs mailing list