Re: [RESEND PATCH v3 13/20] mtd: spi-nor: Add a ->convert_addr() method

2019-08-27 Thread Vignesh Raghavendra
On 26/08/19 5:38 PM, tudor.amba...@microchip.com wrote: > From: Boris Brezillon > > In order to separate manufacturer quirks from the core we need to get > rid of all the manufacturer specific flags, like the > SNOR_F_S3AN_ADDR_DEFAULT one. > > This can easily be replaced by a

[RESEND PATCH v3 13/20] mtd: spi-nor: Add a ->convert_addr() method

2019-08-26 Thread Tudor.Ambarus
From: Boris Brezillon In order to separate manufacturer quirks from the core we need to get rid of all the manufacturer specific flags, like the SNOR_F_S3AN_ADDR_DEFAULT one. This can easily be replaced by a ->convert_addr() hook, which when implemented will provide the core with an easy way to

[PATCH v3 13/20] mtd: spi-nor: Add a ->convert_addr() method

2019-08-26 Thread Tudor.Ambarus
From: Boris Brezillon In order to separate manufacturer quirks from the core we need to get rid of all the manufacturer specific flags, like the SNOR_F_S3AN_ADDR_DEFAULT one. This can easily be replaced by a ->convert_addr() hook, which when implemented will provide the core with an easy way to