Skip to content

Commit

Permalink
ARM: 6250/1: patch for modifying spi flash configuration
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
wanzongshun authored and Russell King committed Jul 22, 2010
1 parent c588e37 commit c6ca2e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/mach-w90x900/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down Expand Up @@ -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,
},
Expand Down

0 comments on commit c6ca2e4

Please sign in to comment.