From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Tue, 31 Jul 2012 07:18:29 +0200 Subject: [U-Boot] [PATCH 1/2] spi: microblaze: Adds driver for Xilinx SPI controller In-Reply-To: <1343514336-14084-1-git-send-email-linz@li-pro.net> References: <1343514336-14084-1-git-send-email-linz@li-pro.net> Message-ID: <50176AA5.9020006@monstr.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07/29/2012 12:25 AM, Stephan Linz wrote: > This is an improved version of the driver patch original > submitted by Graeme Smecher > > The changes are: > - remove hard coded Xilinx BSP defines (XPAR_SPI_*) and > use CONFIG_SYS_SPI_BASE from config.h instead > - add extensive register struct definitions > - remove offset calculation for register access and > use the new register struct instead > - move default SPI controller configuration from > spi_setup_slave() to spi_claim_bus() > - add spi_set_speed() > - insert SPI controller deactivation in spi_release_bus() > - protect while loops in spi_xfer() with counter / timeouts > - support SPI mode flags: LSB_FIRST, CPHA, CPOL, LOOP > > Come from: > http://patchwork.ozlabs.org/patch/71797/ > > Signed-off-by: Stephan Linz > --- > v2: Remove useles information from commit message > Add newline and split variable declaration from code Should be v2 in subject but I have tested and applied to microblaze custodian repo. Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian