From: Wolfgang Denk Date: Mon, 20 Mar 2006 21:16:11 +0100 Subject: [U-Boot-Users] cfi_flash init got real slow In-Reply-To: Your message of "Mon, 20 Mar 2006 11:07:13 +0100." <441E7ED1.9040401@t-online.de> Message-ID: <20060320201611.BC13B353A37@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <441E7ED1.9040401@t-online.de> you wrote: > > > All this has been discussed a long, long time ago. Also, if you read > > carefully, you wil see that the behaviour is run-time configurable > > using the "unlock" environment variable. ... > 1. The startup time of the flash module is now more then 20 seconds! Did you try unsing the "unlock" environment variable? Were there any problems with that? > 2. The code, that invent the flash unlock has the quality of a "quick > hack": If you have four flash banks, the env will be read eight times, > one time should be enough. Can you please submit a patch, then? > 3. That i can not get rid of these unprotect feature with a build > option: It is allways in the code, if CFG_FLASH_PROTECTION is enabled, a Is there anything wrong with the "unlock" environment variable approach? Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Human beings were created by water to transport it uphill.