From nobody Fri Oct 24 09:45:19 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1519428254814173.786228293175; Fri, 23 Feb 2018 15:24:14 -0800 (PST) Received: from localhost ([::1]:47763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epMh9-00071A-Ou for importer@patchew.org; Fri, 23 Feb 2018 18:24:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epMfq-0006KX-P7 for qemu-devel@nongnu.org; Fri, 23 Feb 2018 18:22:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epMfn-00027c-G5 for qemu-devel@nongnu.org; Fri, 23 Feb 2018 18:22:42 -0500 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]:47054) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1epMfn-00026Q-7S for qemu-devel@nongnu.org; Fri, 23 Feb 2018 18:22:39 -0500 Received: by mail-lf0-x243.google.com with SMTP id r80so14566588lfe.13 for ; Fri, 23 Feb 2018 15:22:39 -0800 (PST) Received: from localhost.localdomain (94-255-131-112.cust.bredband2.com. [94.255.131.112]) by smtp.gmail.com with ESMTPSA id q63sm685919ljq.17.2018.02.23.15.22.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Feb 2018 15:22:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=02c27h+DTeyXeA3YfHzlUoRUj6J1GzZRe7+Bb7rbVRo=; b=nCTe1cE7SRTEF6DwUgU1yMoglm9kYCqcIR9NxDxEFf+VjAjHmmD4oNE7blMsIL4uvm Hy/1qiO8ut5IrDWrINxMFRFQSMih0E/Hh+FUlzmGOTO9hoEJwU0ukn4OT9VzBUhlruhF 5O7FNCYB2WefLqlGEtkLoZb+DCxuHwuSBGjYWRglddtguENiP3IqcQFBaapSNTelWbG5 asRZMpHu4VW7JBQiwfxmrqDNPA2CcFjYMV6EDZiTypo3d+CGjYJlFRh5CXux4Jy7dEDv n6Z1vBRLXV0Cb2V6MsW07VH45WWGpfI8Dv1wIOZNChEQevZdlNkJRUVtqxa0Z0T7GC0d OR6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=02c27h+DTeyXeA3YfHzlUoRUj6J1GzZRe7+Bb7rbVRo=; b=bJt15gB6YaE1PMFqjke+fMmNCw0QcG/4lqegokV+flYU3QnE5nECP02YwoNY2Za+B7 7qH50S5tpFR5CO7UT0EVDPEXdEXuSpiObJLYshQpiMu3H/yQfmkF43rNhJF1xj3uhlBv MqsxGNoA5j5BpB6gJ7xGQeDVBvqThHRMrc7XJvMtZxRqOrgRAkN6oJ4douPVnPTzTLtQ ItnyyxPCVmfoThUXlHB510MvJ57xIcWlIHEfA+RiLV10/3ETsCwjGq408UDNH90yxZ1R /AueeHznZ2s2LCOirXXatJ1iF8ZPNf5SPUTOsyStKQCf+0G5c8VWCpqJpz4Tre3Jbwoi TtmQ== X-Gm-Message-State: APf1xPC1ZyPcmppGgFFI/lJkE6EjMpMeciDHl9sCpZMmPTJADjD0hMdK xzEdNGBgKVxwSF7KxTO0WlCrU6Sf X-Google-Smtp-Source: AG47ELv1gKmY9L87q9vHz7GwzjuwkpBNqdGYQ5zEVheNwltQgGH3+zqF2i6ps+z63Y47jF7x8CBIQQ== X-Received: by 10.46.127.11 with SMTP id a11mr2603461ljd.148.1519428157804; Fri, 23 Feb 2018 15:22:37 -0800 (PST) From: Francisco Iglesias To: qemu-devel@nongnu.org Date: Sat, 24 Feb 2018 00:22:33 +0100 Message-Id: <20180223232233.31482-3-frasse.iglesias@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180223232233.31482-1-frasse.iglesias@gmail.com> References: <20180223232233.31482-1-frasse.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::243 Subject: [Qemu-devel] [PATCH v2 2/2] xilinx_spips: Use 8 dummy cycles with the QIOR/QIOR4 commands X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, edgari@xilinx.com, alistai@xilinx.com, francisco.iglesias@feimtech.se Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Use 8 dummy cycles (4 dummy bytes) with the QIOR/QIOR4 commands in legacy m= ode for matching what is expected by Micron (Numonyx) flashes (the default targ= et flash type of the QSPI). Signed-off-by: Francisco Iglesias Tested-by: Alistair Francis Reviewed-by: Alistair Francis --- hw/ssi/xilinx_spips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ssi/xilinx_spips.c b/hw/ssi/xilinx_spips.c index 0cb484ecf4..426f971311 100644 --- a/hw/ssi/xilinx_spips.c +++ b/hw/ssi/xilinx_spips.c @@ -577,7 +577,7 @@ static int xilinx_spips_num_dummies(XilinxQSPIPS *qs, u= int8_t command) return 2; case QIOR: case QIOR_4: - return 5; + return 4; default: return -1; } --=20 2.11.0