From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 01 Feb 2011 18:58:13 +0100 Subject: [U-Boot] [PATCH V2 09/11] SPI: mxc_spi: add SPI clock calculation and setup to the driver In-Reply-To: <1295513194-16158-10-git-send-email-sbabic@denx.de> References: <1295513194-16158-1-git-send-email-sbabic@denx.de> <1295513194-16158-10-git-send-email-sbabic@denx.de> Message-ID: <4D4849B5.9000402@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 01/20/2011 09:46 AM, Stefano Babic wrote: > From: Anatolij Gustschin > > The MXC SPI driver didn't calculate the SPI clock up to > now and just used highest possible divider 512 for DATA > RATE in the control register. This results in very low > transfer rates. > > The patch adds code to calculate and setup the SPI clock > frequency for transfers. > > Signed-off-by: Anatolij Gustschin > Signed-off-by: Stefano Babic Applied to u-boot-imx, thanks Best regards, Stefano Babic -- ===================================================================== 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 =====================================================================