[PATCH v1] cmd: mtd: OTP access support
Arseniy Krasnov
avkrasnov at salutedevices.com
Thu Nov 30 17:30:31 CET 2023
On 30.11.2023 16:35, Michael Walle wrote:
>> +static int do_mtd_otp_write(struct cmd_tbl *cmdtp, int flag, int argc,
>> + char *const argv[])
>> +{
> ..
>
>> + printf("Caution! OTP data bits can't be erased! Continue (y/n)?\n");
>
> Please note, that with current SPI-NOR flashes this is not true and
> there is usually some kind of erase command for the OTP bits. Only
> the region lock is permanent and with that set, no more write or erase
> is possible.
I see, so may be just rephrase this message, like just "Continue? (y/n)?"
Thanks, Arseniy
>
> -michael
More information about the U-Boot
mailing list