]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
mtd: qspi: Corrected the sequence for accessing flash part
authorTejas Prajapati Rameshchandra <tejas.prajapati.rameshchandra@xilinx.com>
Tue, 29 Aug 2017 05:58:58 +0000 (11:28 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 29 Aug 2017 06:24:14 +0000 (08:24 +0200)
commit45b0d9a1507edb3c4e4bb37f04dcb8581a74d501
treee96e15b7a7991a38d18d863c1a79c1ff4b429b7d
parentcba7215b39ca02fb3f3c672829bd64bc8f98c200
mtd: qspi: Corrected the sequence for accessing flash part

For accessing flash part using the mtd devices for architectures which
only supports 3 byte addressing need to call write_ear() for accessing
memory above 16MB. After every call to write_ear(), write_enable()
has to be called for further process.

Signed-off-by: Tejas Prajapati Rameshchandra <tejaspra@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mtd/spi-nor/spi-nor.c