[U-Boot-Users] cfi_flash init got real slow

Wolfgang Denk wd at denx.de
Mon Mar 20 21:16:11 CET 2006


In message <441E7ED1.9040401 at 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.




More information about the U-Boot mailing list