/* Reads and returns the serial flash device ID.  */
uint32_t s25fl1xx_read_jedec_id(struct qspid_t *qspid)
/* Reads and returns the serial flash device ID.  */
uint32_t s25fl1xx_read_jedec_id(struct qspid_t *qspid)
{
	static uint32_t id;
	s25fl1xx_exec_command(qspid, S25FL1XX_READ_JEDEC_ID, 0, &id, QSPI_READ_ACCESS, 3);
	return id;
}