
19 Mar
2006
19 Mar
'06
10:14 p.m.
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