[U-Boot-Users] flash protection code in cfi_flash

David Ho davidkwho at gmail.com
Wed Mar 15 17:07:07 CET 2006


> > I'm looking at the flash protection code in the cfi_flash driver, can
> > anyone tell me why it claims intel's unprotect unprotects all locking?
> > Certainly my K3 flash can unlock on a per block basis.
>
> Which exactl line(s) of code are you alking about?

Inside flash_real_protect in cfi_flash.c from your gitweb.
Line# 671 to 679

If you haven't noticed this function has not changed since the intial commit.
5653fc335a450fa46d89989e1afe5e8bb9a0a52e

If no one has any objection, I will remove the part of the code that
relock each sector, for submission.

David




More information about the U-Boot mailing list