Re: [U-Boot] [PATCH 1/3] spi: omap3: add support for more word lengths

2013-10-15 Thread Nikita Kiryanov
On 10/14/2013 05:18 PM, Igor Grinberg wrote: diff --git a/drivers/spi/omap3_spi.c b/drivers/spi/omap3_spi.c index 6bac245..add98e1 100644 --- a/drivers/spi/omap3_spi.c +++ b/drivers/spi/omap3_spi.c @@ -20,7 +20,7 @@ #include #include "omap3_spi.h" -#define WORD_LEN 8 +#define SPI_DEFA

Re: [U-Boot] [PATCH 1/3] spi: omap3: add support for more word lengths

2013-10-14 Thread Igor Grinberg
Hi Nikita, On 10/09/13 16:46, Nikita Kiryanov wrote: > Current implementation only supports 8 bit word lengths, even though > omap3 can handle anything between 4 and 32. > > Update the spi interface to support changing the SPI word length, > and implement it in omap3_spi driver to support the ful

Re: [U-Boot] [PATCH 1/3] spi: omap3: add support for more word lengths

2013-10-10 Thread Gerhard Sittig
On Wed, Oct 09, 2013 at 17:46 +0300, Nikita Kiryanov wrote: > > --- a/drivers/spi/omap3_spi.c > +++ b/drivers/spi/omap3_spi.c > @@ -20,7 +20,7 @@ > #include > #include "omap3_spi.h" > > -#define WORD_LEN 8 > +#define SPI_DEFAULT_WORDLEN 8; > #define SPI_WAIT_TIMEOUT 300; > > stati

[U-Boot] [PATCH 1/3] spi: omap3: add support for more word lengths

2013-10-09 Thread Nikita Kiryanov
Current implementation only supports 8 bit word lengths, even though omap3 can handle anything between 4 and 32. Update the spi interface to support changing the SPI word length, and implement it in omap3_spi driver to support the full range of possible word lengths. This implementation is backwar