From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Date: Tue, 18 Jan 2011 18:37:16 +0300 Subject: [U-Boot] [PATCH V2 2/2] SPI: mxc_spi: add SPI clock calculation and setup to the driver In-Reply-To: <1295349749-32406-1-git-send-email-sbabic@denx.de> References: <1295201837-26836-2-git-send-email-agust@denx.de> <1295349749-32406-1-git-send-email-sbabic@denx.de> Message-ID: <4D35B3AC.4030304@mvista.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello. Stefano Babic wrote: > From: Anatolij Gustschin > The MXC SPI driver didn't calculate the SPI clock up to > now and just highest possible divider 512 for DATA ^ I think "used" shouldn't have been ommitted here. > 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 WBR, Sergei