[PATCH] mtd: m25p80: add support for the windbond w25q256 chip
Brian Norris
computersforpeace at gmail.com
Wed Sep 26 18:20:11 EDT 2012
On Tue, Sep 25, 2012 at 2:05 AM, Matthieu CASTET
<matthieu.castet at parrot.com> wrote:
> diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
> index 5257345..4eb99c6 100644
> --- a/drivers/mtd/devices/m25p80.c
> +++ b/drivers/mtd/devices/m25p80.c
> @@ -168,6 +168,7 @@ static inline int set_4byte(struct m25p *flash, u32 jedec_id, int enable)
> {
> switch (JEDEC_MFR(jedec_id)) {
> case CFI_MFR_MACRONIX:
> + case 0xEF /* winbond */:
> flash->command[0] = enable ? OPCODE_EN4B : OPCODE_EX4B;
> return spi_write(flash->spi, flash->command, 1);
> default:
Just checking: Winbond didn't use their known manufacturer ID (0xDA)
for this chip? Do they have other chips that support/need 4-byte
addressing and use 0xDA?
Brian
More information about the linux-mtd
mailing list