All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] cfi_flash init got real slow
@ 2006-03-19 21:14 Reinhard Arlt
  2006-03-19 22:05 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Reinhard Arlt @ 2006-03-19 21:14 UTC (permalink / raw)
  To: u-boot

Hello,

i have changed the flash support in u-boot for the CPCI750 from a local 
flash.c to the usage of cfi_flash.c a month ago.

With the u-boot version from git from yesterday, flash init take about 
20 seconds (it tooks no noticeable time with the last version).

This is not acceptable.

It is also not acceptable to disable flash protection.

The problem is the code, that "invents" this "auto" flash unprotection 
in the flash_init routine. Please consider, that there are systems out 
with the env in eeprom, and, by the way, reading the "unlock" variable 
with the loop for each devive two times is not too good coding style.

Please be carefull with changes, that have an impact to other systems.

Kind regards

Reinhard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-20 20:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-19 21:14 [U-Boot-Users] cfi_flash init got real slow Reinhard Arlt
2006-03-19 22:05 ` Wolfgang Denk
2006-03-20 10:07   ` Reinhard Arlt
2006-03-20 20:16     ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.