[U-Boot-Users] cfi_flash init got real slow
reinhard.arlt at t-online.de
Sun Mar 19 22:14:47 CET 2006
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.
More information about the U-Boot