[PATCH v2 0/3] mtd:nor:ppb_unlock fixes

Honza Petrouš jpetrous at gmail.com
Tue May 30 02:51:07 PDT 2017


Hi Boris,
as you advised I come back with v2 patch, now it is the series
of three fixes I found them during the testing of the original fix.

>From the fixes it is evident that PPB unlocking is not so much
widely used. What is understandable as usually the flashing
is done in bootloader. At least in projects I was involved before.

Anyway, I can say I tested the code only on one-flashchip
configuration, so I'm not 100% sure if all will be ok with multichip
setting. All my old embedded boards have unfortunatelly only
one nor chip.

As I noted already, the original issue was very slow unlocking
on Spansion S29GL01GS, what led in really horrible timing,
sometimes in minutes! With the fix (when only one chip unlock
cmd is used) the operation returns to the "standard" behaviour
whats make the whole system happy again.

BR.
/Honza



More information about the linux-mtd mailing list