[U-Boot-Users] [PATCH] cfi_flash.c patches

Scott McNutt smcnutt at psyent.com
Mon Aug 22 18:41:21 CEST 2005


Tolunay Orkun wrote:

> The point is you can simply use already available "protect off"

Not to add fuel to the fire ;-) ... but in the past, I did precisely
what Tolunay suggests. I just added a "protect off" to the boot command
to explicitly unprotect specific sectors. It worked just fine -- and
I did not consider the techique to lack convenience.

On-the-other-hand, preventing automatic "UN-protection" in this case
is _policy_ enforcement -- we would be making technical decisions for
others, for applications we know nothing about -- this, I am sure,
is not the u-boot "spirit" that I have observed over the past 5 years.

That being said, a default that does not automatically un-protect
seems appropriate -- or find a way to push the auto un-protect
capability into the board-specific tree.

Regards,
--Scott




More information about the U-Boot mailing list