Re: [spi-devel-general] pxa2xx_spi with SFRM

2008-08-15 Thread Vernon Sauder
Ned Forrester wrote: >I'm not sure that implementing defaults is a good idea. I prefer the >current scheme of forcing the user to make a considered choice. In >particular, 0 is a valid value for the timeout and thresholds (it means >none in the case of timeout and one in the case of thresholds),

Re: [spi-devel-general] pxa2xx_spi with SFRM

2008-08-15 Thread Ned Forrester
Resend due to bad cc: address... Vernon Sauder wrote: > This is another problem. The thresholds and timeouts are taken from the > pxa2xx_spi_chip structure where cs_control is specified. So once I tried > to use cs_control, the timeout and thresholds were wrong. They driver > does not use defa

[spi-devel-general] Limitations on transfer length [was: pxa2xx_spi with SFRM]

2008-08-15 Thread Ned Forrester
Vernon Sauder wrote: > Ned Forrester wrote: > On a side note, there is an MTD error when using the SPI Flash with the > pxa2xx_spi driver. > > [EMAIL PROTECTED] [~] # flash_erase /dev/mtd_spi > Erase Total 1 Units > Performing Flash Erase of length 65536 at offset 0x0 done # <- why *64K* ?? > [E