Received: from eggs.gnu.org ([2001:4830:134:3::10]:60977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPZZS-0003we-G1 for qemu-devel@nongnu.org; Fri, 06 Jan 2017 13:48:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPZZP-0005rh-Bi for qemu-devel@nongnu.org; Fri, 06 Jan 2017 13:48:58 -0500 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]:34640) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cPZZP-0005r5-3h for qemu-devel@nongnu.org; Fri, 06 Jan 2017 13:48:55 -0500 Received: by mail-lf0-x241.google.com with SMTP id q89so603632lfi.1 for ; Fri, 06 Jan 2017 10:48:54 -0800 (PST) References: <20170103203502.25907-1-jcd@tribudubois.net> <66b3383c-65bc-f993-d25e-9871489039de@gmail.com> From: "mar.krzeminski" Message-ID: Date: Fri, 6 Jan 2017 19:48:51 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v3] [i.MX] fix CS handling during SPI access. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jean-Christophe DUBOIS , qemu-devel@nongnu.org, peter.maydell@linaro.org W dniu 06.01.2017 o 19:18, Jean-Christophe DUBOIS pisze: > Le 06/01/2017 à 13:28, mar.krzeminski a écrit : >>>> Please make sure that in HW ECSPI_CONFIGREG_SS_POL bits are 0's >>>> after reset/power up (defaults). >>> >>> There is already a memset to 0 of all regs (including CONFIGREG) in >>> the reset function. >> I saw that memset, my question is rather real HW also have 0s after >> reset (could be important >> in some cases). > > Yes, all registers are set to 0 at reset except STATREG which is set > to 3 (according to reference manual). > Thanks! >> >> Thanks, >> Marcin > >