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

Chris Johns (@chris) gitlab at rtems.org
Thu Nov 7 00:14:51 UTC 2024




Chris Johns started a new discussion on bsps/arm/xilinx-zynq/dev/spi/zynq-qspi-flash-transfer.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/295#note_114434

 > +            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)) {

Interrupt mode?

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


More information about the bugs mailing list