Messages in this thread | | | Date | Wed, 20 Apr 2022 11:57:16 +0530 | From | Pratyush Yadav <> | Subject | Re: [PATCH] mtd: spi-nor: move SECT_4K_PMC special handling |
| |
On 18/04/22 01:26PM, Michael Walle wrote: > The SECT_4K_PMC flag will set a device specific opcode for the 4k sector > erase. Instead of handling it in the core, we can move it to a > late_init(). In that late init, loop over all erase types, look for the > 4k size and replace the opcode. > > Signed-off-by: Michael Walle <michael@walle.cc> > --- > Please have a closer look here. This is only compile time tested. Also > I didn't see much reason to reorder the flags.
Patch looks okay to me but I would like someone to test it on the flash before I apply it.
-- Regards, Pratyush Yadav Texas Instruments Inc.
| |