From mboxrd@z Thu Jan 1 00:00:00 1970 From: Holger Brunck Date: Fri, 07 Dec 2012 10:19:13 +0100 Subject: [U-Boot] [PATCH 2/4 v2] cfi_flash: Read PPB sector protection from device for AMD/Spansion chips In-Reply-To: <1354805052-32347-2-git-send-email-sr@denx.de> References: <1354805052-32347-1-git-send-email-sr@denx.de> <1354805052-32347-2-git-send-email-sr@denx.de> Message-ID: <50C1B491.6040402@keymile.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Stefan, On 12/06/2012 03:44 PM, Stefan Roese wrote: > Patch 66863b05 [cfi_flash: add support for Spansion flash PPB sector > protection] introduced the PPB (Persistent Protection Bit) locking for > Spansion chips. But right now the sector protection status (locked vs > unlocked) is set to unlocked for all sectors upon bootup. The real > sector protection status is ignored. > > This patch now reads the current sector protection status and uses > it for these AMD/Spansion flash chips. > > Signed-off-by: Stefan Roese > Cc: Anatolij Gustschin > Cc: Holger Brunck > --- Tested-by: Holger Brunck Regards Holger