/* Reads and returns the status register of the serial flash.  */
static uint32_t s25fl1xx_read_status(struct qspid_t *qspid)
/* Reads and returns the status register of the serial flash.  */
static uint32_t s25fl1xx_read_status(struct qspid_t *qspid)
{
	uint32_t status;
	status = s25fl1xx_read_status1(qspid) | (s25fl1xx_read_status2(qspid) << 8) | (s25fl1xx_read_status3(qspid) << 16);
	return status;
}