[U-Boot] [PATCH 2/2] SPI: mxc_spi: add SPI clock calculation and setup to the driver

Anatolij Gustschin agust at denx.de
Mon Jan 17 10:36:01 CET 2011


On Mon, 17 Jan 2011 10:30:09 +0100
Anatolij Gustschin <agust at denx.de> wrote:

> Hello Stefano,
> 
> On Mon, 17 Jan 2011 10:00:51 +0100
> Stefano Babic <sbabic at denx.de> wrote:
> 
> > On 01/16/2011 07:17 PM, Anatolij Gustschin wrote:
> > > The MXC SPI driver didn't calculate the SPI clock up to
> > > now and just used lowest possible divider 512 for DATA
> > > RATE in the control register. This results in very low
> > > transfer rates.
> > > 
> > 
> > Hi August,
> > 
> > I sent last friday a patch for mxc_spi.c, too, adding support for mx35,
> > and the two patches now conflict. Is it ok for you if I rebase your
> > patch on top of mine and I post it again ?
> 
> Yes, it is ok.

BTW: While at it, could you then also please fix a mistake in the
commit description: it should be "... just highest possible divider
512".

Thanks,
Anatolij

--
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de


More information about the U-Boot mailing list