Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6AA70CCF9E7 for ; Wed, 25 Sep 2024 17:05:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0033188C37; Wed, 25 Sep 2024 19:05:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1727283950; bh=9TMAFc23ppfEwIr1lqMWCOzMG35aHK3NRy8+SRdWoMU=; h=Date:Subject:From:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=SjFgPDWF166TzaavPQDzTI3l5Lf8lDu+r5aQpKIWqXmg/dkLqKuy1tvzHcKeJzoDl +btjF6a6eZOcrUb6QQ9l9zHOwUiagL2BXQlea/gZZjH8r3W0NS/tm4uvJtJNARGkML Xw1W0eQx2OnGGB6p6WEbTlnGUS01om2fXQ+Re1PkzGHpV1iQzmShyYXwMlBq5dzz/o 7ROmJ705F5rW+Ud/cQzwY8eDIUDl7ClZPLkcRCEUGJdMMMmyXQR/MfuVUTp62nrnQF tvGqUQCpkDQ5UWuxYSIcSKVRhNHBZv9rgTJC60DKl4M4YVfeUmLY97/ssCnMMjx7bB hvEPlLYDV7ebw== Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id DE9A288BBF; Wed, 25 Sep 2024 19:05:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1727283948; bh=9TMAFc23ppfEwIr1lqMWCOzMG35aHK3NRy8+SRdWoMU=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=aLeMeH+s/DMqSWS9atvqYp+0466K8iNxeefGRaN9cAC65modIrC7CIQR/Jli5VqEe A+mV1UAf2IOHxnLZ1yWLrLrQZBXyhSFMTGKc0q6oOhzWbRBz6vJ5hgnHwhoXUeyQ6x dR5W2pR2W3GQ7QEA72jXHAyPgmTO/pWXvcWwnZmdg3BzmTZAhqs/I9vR7wiGOHrI8S 9gcnSOYl9hPoZMiRyq7BCb9wxCTch2wZhMQL+cVUHVQWonBOGOQI1E0KYwTZOjJxOZ /LWSAsL4TcxxaRFUJdyLKCuvBxQPo08sanUdQzMR1Jq+Yn+FOngEwE0TBItPifMfoc XGhjeJZCx+JdQ== Message-ID: <9dd94d8a-0b83-480f-831b-e4bfd4a67333@denx.de> Date: Wed, 25 Sep 2024 19:05:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] mtd: spi-nor: Clear Winbond SR3 WPS bit on boot From: Marek Vasut To: Jagan Teki Cc: Tom Rini , u-boot@lists.denx.de, Hai Pham , Heinrich Schuchardt , Johann Neuhauser , Simon Glass , Takahiro Kuwano , Venkatesh Yadav Abbarapu , Vignesh R References: <20240304161607.82759-1-marex@denx.de> <19a4f9fd-81c7-4ff7-a202-8f0f0c5857a9@denx.de> <65ceb565-e84e-4ba1-a11d-7bd0ac98f7ee@denx.de> Content-Language: en-US In-Reply-To: <65ceb565-e84e-4ba1-a11d-7bd0ac98f7ee@denx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On 9/11/24 1:05 PM, Marek Vasut wrote: > On 8/30/24 3:36 PM, Jagan Teki wrote: >> On Sun, Aug 25, 2024 at 5:58 AM Marek Vasut wrote: >>> >>> On 5/24/24 6:05 PM, Jagan Teki wrote: >>>> On Mon, Mar 4, 2024 at 9:46 PM Marek Vasut wrote: >>>>> >>>>> Some Winbond SPI NORs have special SR3 register which is >>>>> used among other things to control whether non-standard >>>>> "Individual Block/Sector Write Protection" (WPS bit) >>>>> locking scheme is activated. This non-standard locking >>>>> scheme is not supported by either U-Boot or Linux SPI >>>>> NOR stack so make sure it is disabled, otherwise the >>>>> SPI NOR may appear locked for no obvious reason. >>>>> >>>>> This SR3 WPS appears e.g. on W25Q16FW which has the same ID as >>>>> W25Q16DW, but the W25Q16DW does not implement the SR3 WPS bit. >>>>> >>>>> Signed-off-by: Marek Vasut >>>>> --- >>>> >>>> Applied to u-boot-spi/master >>> >>> I do not see this patch in u-boot/master , was it missed ? >> >> I missed it, I will send it as part of PR soon. > Is there a PR now ? Is there any progress on this ?