summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-w90x900/dev.c
diff options
context:
space:
mode:
authorwanzongshun <mcuos.com@gmail.com>2010-07-22 10:12:30 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-07-22 10:20:18 +0200
commitc6ca2e466f22dee01a97f04bcc6bec8062d79847 (patch)
tree0977e53e5ee9a1507f477ae37d18a34eccc0c82d /arch/arm/mach-w90x900/dev.c
parentARM: 6249/1: add nuc900 kpi platform_device structure to nuc910_dev (diff)
downloadlinux-c6ca2e466f22dee01a97f04bcc6bec8062d79847.tar.xz
linux-c6ca2e466f22dee01a97f04bcc6bec8062d79847.zip
ARM: 6250/1: patch for modifying spi flash configuration
This patch is to modify spi flash configuration, the previous one can make spi driver work failed. Signed-off-by: Wan ZongShun <mcuos.com@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-w90x900/dev.c')
-rw-r--r--arch/arm/mach-w90x900/dev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-w90x900/dev.c b/arch/arm/mach-w90x900/dev.c
index 7ae543899c85..7a1fa6adb7c3 100644
--- a/arch/arm/mach-w90x900/dev.c
+++ b/arch/arm/mach-w90x900/dev.c
@@ -209,7 +209,7 @@ static struct nuc900_spi_info nuc900_spiflash_data = {
.divider = 24,
.sleep = 0,
.txnum = 0,
- .txbitlen = 1,
+ .txbitlen = 8,
.bus_num = 0,
};
@@ -258,7 +258,7 @@ static struct spi_board_info nuc900_spi_board_info[] __initdata = {
.modalias = "m25p80",
.max_speed_hz = 20000000,
.bus_num = 0,
- .chip_select = 1,
+ .chip_select = 0,
.platform_data = &nuc900_spi_flash_data,
.mode = SPI_MODE_0,
},