[PATCH 6/8] mtd: spi-nor: drop replaceable wait-till-ready function pointer

Rafał Miłecki zajec5 at gmail.com
Mon Aug 11 22:14:19 PDT 2014


On 12 August 2014 07:13, Rafał Miłecki <zajec5 at gmail.com> wrote:
> On 7 August 2014 03:17, Brian Norris <computersforpeace at gmail.com> wrote:
>> We don't need to expose a 'wait-till-ready' interface to drivers. Status
>> register polling should be handled by the core spi-nor.c library, and as
>> of now, I see no need to provide a special driver-specific hook for it.
>
> Do you think we could use spi-nor for Broadcom's SPI Atmel flashes? If
> so, we could need this.
>
> Broadcom's code includes support for two Atmel flashes: AT25F512 and AT25F2048.
>
> From what I can see, Atmel-specific code uses command 0xD7 (checking
> for bit 0x80 to be unset). That is a bit different from "standard"
> flashes using command 0xD7 (checking for bit 0x80 to be unset).

I meant standard code using command 0x05 and checking for 0x01 to be unset.

-- 
Rafał



More information about the linux-mtd mailing list