/* Wait for transfer to finish calling the SPI driver ISR. (interrupts are disabled)  */
static void s25fl1xx_wait_memory_access_end(struct qspid_t *qspid)
/* Wait for transfer to finish calling the SPI driver ISR. (interrupts are disabled)  */
static void s25fl1xx_wait_memory_access_end(struct qspid_t *qspid)
{
	while(s25fl1xx_read_status1(qspid) & S25FL1XX_STATUS_RDYBSY);
}