From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fuchs Date: Mon, 15 Oct 2007 09:14:10 +0200 Subject: [U-Boot-Users] Unexpected bahavior with Intel Strata flashes Message-ID: <200710150914.10885.matthias.fuchs@esd-electronics.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, I ran into an issue with some ugly Intel Strata J3 flashes. The U-boot target has two of those flash chips onboard. U-boot uses the CFI driver with CFG_FLASH_PROTECTION enabled. These ugly flashes support setting single lock bits per sector, but only completely clearing them for the whole chip. With U-boot's protect command I can protect single sectors as expected. But clearing the protection also works per sector as it can be seen through the flinfo command. I did not expect this! Does U-Boot unprotect the complete chip and then 're-'protect all sectors that should be kept protected? This would make sense, but is this really what is done? Regards Matthias