Re: [PATCH v3 1/2] mtd: Add a common JEDEC flash device table

2013-01-23 Thread Tony Prisk
On Wed, 2013-01-23 at 10:00 +0100, Matthieu CASTET wrote: > Tony Prisk a écrit : > > This patch adds a common JEDEC flash device table which can be > > expanded on as more features are required. > > > > A simple match function is also included to query the table for > > a match based on the JEDEC

Re: [PATCH v3 1/2] mtd: Add a common JEDEC flash device table

2013-01-23 Thread Matthieu CASTET
Tony Prisk a écrit : > This patch adds a common JEDEC flash device table which can be > expanded on as more features are required. > > A simple match function is also included to query the table for > a match based on the JEDEC id. Why don't you use id from include/linux/mtd/cfi.h that is used by

[PATCH v3 1/2] mtd: Add a common JEDEC flash device table

2013-01-23 Thread Tony Prisk
This patch adds a common JEDEC flash device table which can be expanded on as more features are required. A simple match function is also included to query the table for a match based on the JEDEC id. Signed-off-by: Tony Prisk --- drivers/mtd/devices/flash_jedec.c | 96 +++