]> git.sur5r.net Git - u-boot/commit
add CONFIG_SPI_IDLE_VAL for cf_spi.c to allow use of spi_mmc
authorWolfgang Wegner <w.wegner@astro-kom.de>
Fri, 23 Apr 2010 05:43:12 +0000 (05:43 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 13 Apr 2011 11:35:22 +0000 (06:35 -0500)
commitb97e0cd78837180e122cd9209b9e71e2c2d3f911
tree1899988cc0056d39195a026fe1e1a3dc3f80d21a
parentce0fbcd2e1bd8c7b0975589b9853f3e8914aa406
add CONFIG_SPI_IDLE_VAL for cf_spi.c to allow use of spi_mmc

This patch adds CONFIG_SPI_IDLE_VAL to cf_spi.c
The default setting is 0x0 to behave same as current version, in case
CONFIG_SPI_MMC is set, the value is set to 0xFFFF (all ones). In either
case, the value can be overwritten by board configuration.

Signed-off-by: Wolfgang Wegner <w.wegner@astro-kom.de>
Signed-off-by: Andy Fleming <afleming@freescale.com>
drivers/spi/cf_spi.c