[PATCH] mtd: m25p80: update flash id list of Macronix chips

2013-03-21 Thread Jim-Ting Kuo
From: Mike Lavender I have changed and added Macronix's JEDEC id to "m25p_ids" array. And initialized status register to 0 for using some Macronix devices. Thank you! Signed-off-by: Jim Kuo --- diff -uprN a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c --- a/drivers/mtd/devices/m25

[PATCH] mtd: m25p80: add support for Macronix chips

2013-03-27 Thread Jim-Ting Kuo
I have changed and added JEDEC id of Macronix SPI flash to "m25p_ids" array. This is using for the current Macronix's product. And I initialized Macronix chip's status register to 0 which is need by some of Macronix chips. Thanks! Signed-off-by: Jim Kuo --- drivers/mtd/devices/m25p80.c | 47 ++

[PATCH] m25p80, spi-nor: add SFDP detect method

2015-02-04 Thread Jim-Ting Kuo
The serial flash discoverable parameters (SFDP) is needed to spi nor devices for some specific features. I added some sfdp structure and detect method. And I hope the method will be useful in the future. The code have been tested on lower version Linux and can successfully work with Macronix chips

Re: [PATCH 1/2] m25p80, spi-nor: Update id list of Macronix chips

2015-02-06 Thread Jim-Ting Kuo
On Fri, Feb 6, 2015 at 9:18 AM, Brian Norris wrote: > On Fri, Feb 06, 2015 at 02:44:04AM +0800, Jim Kuo wrote: >> Update the Macronix chip IDs. And add two functions to m25p80.c to >> support some undefined read/write actions. >> >> Signed-off-by: Jim Kuo >> --- >> drivers/mtd/devices/m25p80.c