Re: [PATCH v4 1/3] spi-nor: Add support for Intel SPI serial flash controller

2016-11-09 Thread Mika Westerberg
On Wed, Nov 09, 2016 at 02:51:20PM +0100, Cyrille Pitchen wrote: > > +/* Reads max 64 bytes from the device fifo */ > > +static int intel_spi_read_block(struct intel_spi *ispi, void *buf, size_t > > size) > > +{ > > + size_t bytes; > > + int i = 0; > > + > > + if (size > 64) > > This is not

Re: [PATCH v4 1/3] spi-nor: Add support for Intel SPI serial flash controller

2016-11-09 Thread Cyrille Pitchen
Hi Mika, Le 17/10/2016 à 16:58, Mika Westerberg a écrit : > Add support for the SPI serial flash host controller found on many Intel > CPUs including Baytrail and Braswell. The SPI serial flash controller is > used to access BIOS and other platform specific information. By default the > driver exp

[PATCH v4 1/3] spi-nor: Add support for Intel SPI serial flash controller

2016-10-17 Thread Mika Westerberg
Add support for the SPI serial flash host controller found on many Intel CPUs including Baytrail and Braswell. The SPI serial flash controller is used to access BIOS and other platform specific information. By default the driver exposes a single read-only MTD device but with a module parameter "wri