From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Mon, 17 May 2010 09:11:22 -0500 Subject: [U-Boot] hardware flash protect kept during a reboot? In-Reply-To: <201005171055.05858.sr@denx.de> References: <4BEDA588.8080107@freescale.com> <201005171055.05858.sr@denx.de> Message-ID: <4BF14E8A.3030804@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Stefan Roese wrote: > This protection is chip specific. IIRC, then some Intel (Strata) chips either > protect all sectors or have a sectore-wise protection mechanism. You need to > check your FLASH documentation for the exact behaviour. Which chip are you > using? I just want to know whether hardware protection works at all for anyone through a reboot. Is the CFI "protect sector" command persistent through a hardware power reset or power loss? > Please note that we have the special "unlock" env variable. By setting it to > "yes", all sectors will be unlocked upon startup. At least on Intel Strata > FLASH chips. I put a printf() in flash_real_protect(), so I know that's not the problem. -- Timur Tabi Linux kernel developer at Freescale