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
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 ++
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
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
4 matches
Mail list logo