]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/glsdk-u-boot.git/commit
spi: add common fdt SPI driver interface
authorAllen Martin <amartin@nvidia.com>
Sat, 16 Mar 2013 18:58:07 +0000 (18:58 +0000)
committerTom Warren <twarren@nvidia.com>
Mon, 25 Mar 2013 16:56:06 +0000 (09:56 -0700)
commit78f47b7353ebe1f243203dcc1ce0a2a374c08a40
treeaafdfd503145a8bc2d16af8f2ad0f10c8dd62887
parent6b3a03e112cecda55b58f3de40f4fc760159979b
spi: add common fdt SPI driver interface

Add a common interface to fdt based SPI drivers.  Each driver is
represented by a table entry in fdt_spi_drivers[].  If there are
multiple SPI drivers in the table, the first driver to return success
from spi_init() will be registered as the SPI driver.

Signed-off-by: Allen Martin <amartin@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
arch/arm/include/asm/arch-tegra20/tegra20_sflash.h
arch/arm/include/asm/arch-tegra20/tegra20_slink.h
board/nvidia/common/board.c
drivers/spi/Makefile
drivers/spi/fdt_spi.c [new file with mode: 0644]
drivers/spi/tegra20_sflash.c
drivers/spi/tegra20_slink.c
include/configs/tegra-common-post.h