/* Reads and returns the status register of the serial flash.  */
static uint8_t s25fl1xx_read_status1(struct qspid_t *qspid)
/* Reads and returns the status register of the serial flash.  */
static uint8_t s25fl1xx_read_status1(struct qspid_t *qspid)
{
	uint8_t status;
	s25fl1xx_exec_command(qspid, S25FL1XX_READ_STATUS_1, 0, (uint32_t *)(&status), QSPI_READ_ACCESS, 1);
	return status;
}