Re: [PATCH] mtd: add driver for the flash in Lattice machxo2 FPGAs

2014-07-25 Thread Varka Bhadram
On 07/25/2014 01:33 PM, Martin Fuzzey wrote: (...) + +static void machxo2_lock(struct machxo2 *machxo2) +{ +if (!mutex_trylock(&machxo2->lock)) { +dev_dbg(machxo2->dev, "wait for %s from %pf\n", +__func__, __builtin_return_address(0)); + dev_dbg(machxo2->dev, "wai

Re: [PATCH] mtd: add driver for the flash in Lattice machxo2 FPGAs

2014-07-25 Thread Martin Fuzzey
Hi and thank you for your review. On 25/07/14 06:11, Varka Bhadram wrote: On 07/24/2014 09:52 PM, Martin Fuzzey wrote: This driver provides two MTD devices, one for the configuration data (FPGA bitstream) and another for the general purpose user flash. Both behave as normal MTD devices bit the

Re: [PATCH] mtd: add driver for the flash in Lattice machxo2 FPGAs

2014-07-24 Thread Varka Bhadram
On 07/24/2014 09:52 PM, Martin Fuzzey wrote: This driver provides two MTD devices, one for the configuration data (FPGA bitstream) and another for the general purpose user flash. Both behave as normal MTD devices bit the configuration one has some extra sysfs entries to synchronize updating. Si

[PATCH] mtd: add driver for the flash in Lattice machxo2 FPGAs

2014-07-24 Thread Martin Fuzzey
This driver provides two MTD devices, one for the configuration data (FPGA bitstream) and another for the general purpose user flash. Both behave as normal MTD devices bit the configuration one has some extra sysfs entries to synchronize updating. Signed-off-by: Martin Fuzzey --- .../bindings/m