Re: [PATCH v2] mtd: spi-nor: fix erase_type array to indicate current map conf

2018-11-28 Thread Boris Brezillon
Hi Alexander, On Mon, 26 Nov 2018 13:04:45 + "Sverdlin, Alexander (Nokia - DE/Ulm)" wrote: > Hello Tudor and all, > > On 26/11/2018 13:45, tudor.amba...@microchip.com wrote: > > From: Tudor Ambarus > > > > BFPT advertises all the erase types supported by all the possible > > map

Re: [PATCH v2] mtd: spi-nor: fix erase_type array to indicate current map conf

2018-11-28 Thread Boris Brezillon
Hi Alexander, On Mon, 26 Nov 2018 13:04:45 + "Sverdlin, Alexander (Nokia - DE/Ulm)" wrote: > Hello Tudor and all, > > On 26/11/2018 13:45, tudor.amba...@microchip.com wrote: > > From: Tudor Ambarus > > > > BFPT advertises all the erase types supported by all the possible > > map

Re: [PATCH v2] mtd: spi-nor: fix erase_type array to indicate current map conf

2018-11-26 Thread Sverdlin, Alexander (Nokia - DE/Ulm)
Hello Tudor and all, On 26/11/2018 13:45, tudor.amba...@microchip.com wrote: > From: Tudor Ambarus > > BFPT advertises all the erase types supported by all the possible > map configurations. Mask out the erase types that are not supported > by the current map configuration. > > Backward

Re: [PATCH v2] mtd: spi-nor: fix erase_type array to indicate current map conf

2018-11-26 Thread Sverdlin, Alexander (Nokia - DE/Ulm)
Hello Tudor and all, On 26/11/2018 13:45, tudor.amba...@microchip.com wrote: > From: Tudor Ambarus > > BFPT advertises all the erase types supported by all the possible > map configurations. Mask out the erase types that are not supported > by the current map configuration. > > Backward

[PATCH v2] mtd: spi-nor: fix erase_type array to indicate current map conf

2018-11-26 Thread Tudor.Ambarus
From: Tudor Ambarus BFPT advertises all the erase types supported by all the possible map configurations. Mask out the erase types that are not supported by the current map configuration. Backward compatibility test done on sst26vf064b. Fixes: b038e8e3be72 ("mtd: spi-nor: parse SFDP Sector Map

[PATCH v2] mtd: spi-nor: fix erase_type array to indicate current map conf

2018-11-26 Thread Tudor.Ambarus
From: Tudor Ambarus BFPT advertises all the erase types supported by all the possible map configurations. Mask out the erase types that are not supported by the current map configuration. Backward compatibility test done on sst26vf064b. Fixes: b038e8e3be72 ("mtd: spi-nor: parse SFDP Sector Map