Commit c6ca2e46 authored by wanzongshun's avatar wanzongshun Committed by Russell King

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: default avatarWan ZongShun <mcuos.com@gmail.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent c588e37d
...@@ -209,7 +209,7 @@ static struct nuc900_spi_info nuc900_spiflash_data = { ...@@ -209,7 +209,7 @@ static struct nuc900_spi_info nuc900_spiflash_data = {
.divider = 24, .divider = 24,
.sleep = 0, .sleep = 0,
.txnum = 0, .txnum = 0,
.txbitlen = 1, .txbitlen = 8,
.bus_num = 0, .bus_num = 0,
}; };
...@@ -258,7 +258,7 @@ static struct spi_board_info nuc900_spi_board_info[] __initdata = { ...@@ -258,7 +258,7 @@ static struct spi_board_info nuc900_spi_board_info[] __initdata = {
.modalias = "m25p80", .modalias = "m25p80",
.max_speed_hz = 20000000, .max_speed_hz = 20000000,
.bus_num = 0, .bus_num = 0,
.chip_select = 1, .chip_select = 0,
.platform_data = &nuc900_spi_flash_data, .platform_data = &nuc900_spi_flash_data,
.mode = SPI_MODE_0, .mode = SPI_MODE_0,
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment