spi: ti_qspi: Use 4-byte opcode for mmap read
authorVignesh R <vigneshr@ti.com>
Mon, 23 Nov 2015 12:13:36 +0000 (17:43 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 20 Jan 2016 15:19:33 +0000 (10:19 -0500)
commit74d49bfde3dd562ceeba2d6883caedcb3e484a6b
treeb684b75e28c93e0c9f74c1090ea913772c060d69
parent99e7fc8a2659ff1b2887c8b11b01ef423e00ee1c
spi: ti_qspi: Use 4-byte opcode for mmap read

ti-qspi driver currently uses 3-byte addressing mode(and opcodes) for
memory-mapped read. This restricts maximum addressable flash size to
16MB.
Enable the 4-byte addressing(and use 4-byte opcode) for memory-mapped
read to allow access to addresses above 16MB.

Signed-off-by: Ravi Babu <ravibabu@ti.com>
[vigneshr@ti.com: Re-word commit description]
Signed-off-by: Vignesh R <vigneshr@ti.com>
drivers/spi/ti_qspi.c