[U-Boot] SPI flash protection
Albert ARIBAUD
albert.aribaud at free.fr
Tue Feb 1 13:26:53 CET 2011
Le 01/02/2011 10:09, Simon Guinot a écrit :
>> In this case, a *software* protection mechanism like for NOR flash
>> would be a better choice.
>
> Or no protection at all. After all, there is no such mechanism
> implemented for u-boot and Linux...
Actually yes, there is, for NOR at least: in U-boot, sectors of NOR
containing U-Boot and the environment are marked protected and thus
trying to erase them will fail if you don't unprotect them first.
As for Linux, you can define this when declaring the NOR device in the
machine specific code.
> Best regards,
>
> Simon
Amicalement,
--
Albert.
More information about the U-Boot
mailing list