/* Writes the given value in the status register of the serial flash device.  */
static void s25fl1xx_write_volatile_status(struct qspid_t *qspid, uint8_t *status)
/* Writes the given value in the status register of the serial flash device.  */
static void s25fl1xx_write_volatile_status(struct qspid_t *qspid, uint8_t *status)
{
	s25fl1xx_exec_command(qspid, 0x50, 0, 0 , QSPI_CMD_ACCESS, 0);
	s25fl1xx_exec_command(qspid, S25FL1XX_WRITE_STATUS, (uint32_t *)status, 0 , QSPI_WRITE_ACCESS, 3);
	s25fl1xx_disable_write(qspid);
}