summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2014-04-14 19:35:59 +0200
committerSimon Horman <horms+renesas@verge.net.au>2014-04-15 08:13:22 +0900
commita09b2f0ba170dc89a67d6c4c4f027b37a085dad9 (patch)
treefddeff852de5e4e33cd8c1db1a754fa63ef05fec /arch
parent4d4a0ff30c39b82c1dc549f2cc7a62b514431e64 (diff)
downloadblackbird-obmc-linux-a09b2f0ba170dc89a67d6c4c4f027b37a085dad9.tar.gz
blackbird-obmc-linux-a09b2f0ba170dc89a67d6c4c4f027b37a085dad9.zip
ARM: shmobile: lager legacy: Enable Quad SPI transfers for the SPI FLASH
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-shmobile/board-lager.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c
index 6af09e1e0841..6c4fcfe5d9db 100644
--- a/arch/arm/mach-shmobile/board-lager.c
+++ b/arch/arm/mach-shmobile/board-lager.c
@@ -325,12 +325,12 @@ static const struct rspi_plat_data qspi_pdata __initconst = {
static const struct spi_board_info spi_info[] __initconst = {
{
- .modalias = "m25p80",
- .platform_data = &spi_flash_data,
- .mode = SPI_MODE_0,
- .max_speed_hz = 30000000,
- .bus_num = 0,
- .chip_select = 0,
+ .modalias = "m25p80",
+ .platform_data = &spi_flash_data,
+ .mode = SPI_MODE_0 | SPI_TX_QUAD | SPI_RX_QUAD,
+ .max_speed_hz = 30000000,
+ .bus_num = 0,
+ .chip_select = 0,
},
};
OpenPOWER on IntegriCloud